buildrootschalter/package/radvd/S50radvd
Peter Korsgaard d459b1bc3d Add radvd to the list of packages
Add radvd, the IPv6 router advertisement daemon.

Signed-off-by: Amand Tihon <amand.tihon@alrj.org>
2009-01-28 21:38:49 +00:00

19 lines
232 B
Bash
Executable File

#!/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