diff options
author | Nicolas Thill <nico@openwrt.org> | 2005-10-03 00:08:45 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2005-10-03 00:08:45 +0000 |
commit | 4a751240162a7bd6bd294e514c1e2679eb15c1a8 (patch) | |
tree | a8662a7075694a85245a0ac3fcbd64019636509b /package/rarpd/files | |
parent | 8e3c555fb542ee05ecbbf9d953f454b74974c4a0 (diff) | |
download | upstream-4a751240162a7bd6bd294e514c1e2679eb15c1a8.tar.gz upstream-4a751240162a7bd6bd294e514c1e2679eb15c1a8.tar.bz2 upstream-4a751240162a7bd6bd294e514c1e2679eb15c1a8.zip |
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.default | 4 | ||||
-rw-r--r-- | package/rarpd/files/rarpd.init | 7 |
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 |