init script cleanup, use /etc/rc.d/ for enabled scripts, /etc/init.d/<pkgname> (enabl...
[openwrt/svn-archive/archive.git] / net / parprouted / files / parprouted.init
1 #!/bin/sh /etc/rc.common
2 # Copyright (C) 2006 OpenWrt.org
3
4 BIN=parprouted
5 DEFAULT=/etc/default/$BIN
6
7 start() {
8 [ -f $DEFAULT ] && . $DEFAULT
9 $BIN $OPTIONS
10 }
11
12 stop() {
13 killall $BIN
14 }