packages/parprouted: use new service functions
[openwrt/svn-archive/archive.git] / net / parprouted / files / parprouted.init
1 #!/bin/sh /etc/rc.common
2 # Copyright (C) 2006-2011 OpenWrt.org
3
4 START=50
5
6 PROG="parprouted"
7 COMMAND="/usr/sbin/$PROG"
8 DEFAULT="/etc/default/$PROG"
9
10 start() {
11 [ -f $DEFAULT ] && . $DEFAULT
12 service_start $COMMAND $OPTIONS
13 }
14
15 stop() {
16 service_stop $COMMAND
17 }