d3e2cd18ae143a8e326260baa6e5e10ebfaa9c78
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / radvd / S50radvd
1 #!/bin/sh
2
3 RADVD=/usr/sbin/radvd
4
5 echo "1" > /proc/sys/net/ipv6/conf/all/forwarding
6
7 echo -n "Starting radvd: "
8 if [ ! -x "${RADVD}" ]; then
9         echo "missing"
10         exit 1
11 fi
12
13 if ${RADVD} ; then
14         echo "done"
15 else
16         echo "failed"
17         exit 1
18 fi