1 #!/bin/bash
2 #
3 # This script is called from VDR before & after network access
4 #
5 # argument 1: wanted action, one of up,down
6 #
7
8 action="$1"
9
10 case "$action" in
11 up)
12 echo "starting dialin"
13 ;;
14 down)
15 echo "hangup"
16 ;;
17 esac
18
19 exit 0