port lots of init scripts over to rc.common (more to come)
[packages.git] / net / rarpd / files / rarpd.init
index 04ca0b4..353a96a 100644 (file)
@@ -1,7 +1,13 @@
-#!/bin/sh
+#!/bin/sh /etc/rc.common
+# Copyright (C) 2006 OpenWrt.org
 
 RARPD=/usr/sbin/rarpd
 DEFAULT=/etc/default/rarpd
 [ -f $DEFAULT ] && . $DEFAULT
 
-$RARPD $OPTIONS
+start() {
+       $RARPD $OPTIONS
+}
+stop() {
+       killall rarpd
+}