examples/network.sh.example
author nathan
Sun, 12 Dec 2010 11:31:54 +0100
branchtrunk
changeset 38 79b272a68eb4
parent 0 474a1293c3c0
permissions -rw-r--r--
fix compile without OGG library
     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