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