projects
/
packages.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
port lots of init scripts over to rc.common (more to come)
[packages.git]
/
net
/
rarpd
/
files
/
rarpd.init
diff --git
a/net/rarpd/files/rarpd.init
b/net/rarpd/files/rarpd.init
index
04ca0b4
..
353a96a
100644
(file)
--- a/
net/rarpd/files/rarpd.init
+++ b/
net/rarpd/files/rarpd.init
@@
-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
+}