File: network.sh.example

package info (click to toggle)
vdr-plugin-mp3 0.10.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 992 kB
  • sloc: ansic: 10,790; sh: 593; makefile: 170; perl: 124
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