examples/network.sh.example
author nathan
Sat, 29 Dec 2007 14:49:09 +0100
branchtrunk
changeset 2 4c1f7b705009
parent 0 474a1293c3c0
permissions -rw-r--r--
release 0.10.1
     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