File: network.sh.example

package info (click to toggle)
vdr-plugin-mp3 0.10.2-19
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,000 kB
  • ctags: 1,405
  • sloc: ansic: 10,757; sh: 593; makefile: 168; 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