summaryrefslogtreecommitdiff
path: root/plugins/mp3/examples/network.sh.example
blob: 418ac65d0f0427a460f6c298d6ea2b540f176071 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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