diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2009-01-28 21:38:49 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2009-01-28 21:38:49 +0000 |
commit | d459b1bc3d53dac0e1a3ee68893724a2878fad05 (patch) | |
tree | dacbba63f8142372651ed002ae4264d8c2ee7974 /package/radvd/S50radvd | |
parent | 2389a4591ba93705783d8c8fe9b042fc1e775bcc (diff) |
Add radvd to the list of packages
Add radvd, the IPv6 router advertisement daemon.
Signed-off-by: Amand Tihon <amand.tihon@alrj.org>
Diffstat (limited to 'package/radvd/S50radvd')
-rwxr-xr-x | package/radvd/S50radvd | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/package/radvd/S50radvd b/package/radvd/S50radvd new file mode 100755 index 000000000..d3e2cd18a --- /dev/null +++ b/package/radvd/S50radvd @@ -0,0 +1,18 @@ +#!/bin/sh + +RADVD=/usr/sbin/radvd + +echo "1" > /proc/sys/net/ipv6/conf/all/forwarding + +echo -n "Starting radvd: " +if [ ! -x "${RADVD}" ]; then + echo "missing" + exit 1 +fi + +if ${RADVD} ; then + echo "done" +else + echo "failed" + exit 1 +fi |