File: netstd_init.init.d

package info (click to toggle)
netstd 3.07-7slink.3
  • links: PTS
  • area: main
  • in suites: slink
  • size: 6,312 kB
  • ctags: 9,027
  • sloc: ansic: 72,107; cpp: 6,144; makefile: 1,650; yacc: 1,614; sh: 1,164; perl: 308; awk: 46
file content (20 lines) | stat: -rw-r--r-- 410 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh
#
# Start networking daemons.

test -f /usr/sbin/routed || exit 0

case "$1" in
  start)
#	echo -n "Starting network routing daemon: routed"; start-stop-daemon --start --quiet --exec /usr/sbin/routed -- -q ; echo "."
	;;
  stop)
        start-stop-daemon --stop --quiet --oknodo --exec /usr/sbin/routed
	;;
  *)
        echo "Usage: /etc/init.d/netstd_init {start|stop}"
        exit 1
esac

exit 0