summaryrefslogtreecommitdiff
path: root/plugins/mp3/examples/network.sh.example
diff options
context:
space:
mode:
authorroot <root@elwms02.(none)>2010-04-06 16:13:08 +0200
committerroot <root@elwms02.(none)>2010-04-06 16:13:08 +0200
commit0e7005fcc7483c01aa102fbea358c5ac65a48d62 (patch)
tree11517ce0d3d2977c6732b3aa583b0008083e0bd3 /plugins/mp3/examples/network.sh.example
downloadx-vdr-0e7005fcc7483c01aa102fbea358c5ac65a48d62.tar.gz
x-vdr-0e7005fcc7483c01aa102fbea358c5ac65a48d62.tar.bz2
hello world
Diffstat (limited to 'plugins/mp3/examples/network.sh.example')
-rw-r--r--plugins/mp3/examples/network.sh.example19
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