diff options
Diffstat (limited to 'plugins/mp3/examples/network.sh.example')
| -rw-r--r-- | plugins/mp3/examples/network.sh.example | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/plugins/mp3/examples/network.sh.example b/plugins/mp3/examples/network.sh.example new file mode 100644 index 0000000..418ac65 --- /dev/null +++ b/plugins/mp3/examples/network.sh.example @@ -0,0 +1,19 @@ +#!/bin/bash +# +# This script is called from VDR before & after network access +# +# argument 1: wanted action, one of up,down +# + +action="$1" + +case "$action" in +up) + echo "starting dialin" + ;; +down) + echo "hangup" + ;; +esac + +exit 0 |
