summaryrefslogtreecommitdiffstats
path: root/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
commitfce3ee15ddcfd6769be44b25bdffc2c4e2aec24d (patch)
treea8662a7075694a85245a0ac3fcbd64019636509b /package/rarpd/files
parent0f353a8e293b3a0e092d2b846c2af44260e482c9 (diff)
add rarpd (thanks to Jeff Dairiki)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2036 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/rarpd/files')
-rw-r--r--package/rarpd/files/rarpd.default4
-rw-r--r--package/rarpd/files/rarpd.init7
2 files changed, 11 insertions, 0 deletions
diff --git a/package/rarpd/files/rarpd.default b/package/rarpd/files/rarpd.default
new file mode 100644
index 000000000..1dd41e9b3
--- /dev/null
+++ b/package/rarpd/files/rarpd.default
@@ -0,0 +1,4 @@
+# /etc/default/rarpd
+#
+# Only listen on vlan0
+#OPTIONS="-i vlan0"
diff --git a/package/rarpd/files/rarpd.init b/package/rarpd/files/rarpd.init
new file mode 100644
index 000000000..04ca0b4f3
--- /dev/null
+++ b/package/rarpd/files/rarpd.init
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+RARPD=/usr/sbin/rarpd
+DEFAULT=/etc/default/rarpd
+[ -f $DEFAULT ] && . $DEFAULT
+
+$RARPD $OPTIONS