summaryrefslogtreecommitdiffstats
path: root/openwrt/package/rarpd/files
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
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')
-rw-r--r--openwrt/package/rarpd/files/rarpd.default4
-rw-r--r--openwrt/package/rarpd/files/rarpd.init7
2 files changed, 11 insertions, 0 deletions
diff --git a/openwrt/package/rarpd/files/rarpd.default b/openwrt/package/rarpd/files/rarpd.default
new file mode 100644
index 000000000..1dd41e9b3
--- /dev/null
+++ b/openwrt/package/rarpd/files/rarpd.default
@@ -0,0 +1,4 @@
+# /etc/default/rarpd
+#
+# Only listen on vlan0
+#OPTIONS="-i vlan0"
diff --git a/openwrt/package/rarpd/files/rarpd.init b/openwrt/package/rarpd/files/rarpd.init
new file mode 100644
index 000000000..04ca0b4f3
--- /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