File: network.sh.example

package info (click to toggle)
vdr-plugin-mp3 0.10.1-12
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 936 kB
  • ctags: 1,163
  • sloc: ansic: 13,116; sh: 749; makefile: 110
file content (19 lines) | stat: -rw-r--r-- 231 bytes parent folder | download | duplicates (11)
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