mirror of
https://git.busybox.net/buildroot.git
synced 2024-12-04 10:53:30 +08:00
d459b1bc3d
Add radvd, the IPv6 router advertisement daemon. Signed-off-by: Amand Tihon <amand.tihon@alrj.org>
19 lines
232 B
Bash
Executable File
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
|