aboutsummaryrefslogtreecommitdiffstats
path: root/package/rarpd/files
diff options
context:
space:
mode:
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 0000000000..1dd41e9b37
--- /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 0000000000..04ca0b4f38
--- /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