summaryrefslogtreecommitdiff
path: root/openwrt/package/rarpd/files/rarpd.init
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-10-03 00:08:45 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-10-03 00:08:45 +0000
commit7c3707b75204a948dede32eeebb14c901975dad9 (patch)
tree506a0f75514d0dab7a611700110e1e664db583ab /openwrt/package/rarpd/files/rarpd.init
parenta07e0d45b1a9df4a1607383357517740f7e0c97e (diff)
add rarpd (thanks to Jeff Dairiki)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2036 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/rarpd/files/rarpd.init')
-rw-r--r--openwrt/package/rarpd/files/rarpd.init7
1 files changed, 7 insertions, 0 deletions
diff --git a/openwrt/package/rarpd/files/rarpd.init b/openwrt/package/rarpd/files/rarpd.init
new file mode 100644
index 0000000000..04ca0b4f38
--- /dev/null
+++ b/openwrt/package/rarpd/files/rarpd.init
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+RARPD=/usr/sbin/rarpd
+DEFAULT=/etc/default/rarpd
+[ -f $DEFAULT ] && . $DEFAULT
+
+$RARPD $OPTIONS