[ -z "$RADVD_CONFIG_FILE" ] && return 1
- if grep '^net.ipv6.conf.all.forwarding=1$' /etc/sysctl.conf > /dev/null 2> /dev/null; then
- sysctl -w net.ipv6.conf.all.forwarding=1 > /dev/null 2> /dev/null
- fi
+ sysctl -w net.ipv6.conf.all.forwarding=1 > /dev/null 2> /dev/null
radvd -C "$RADVD_CONFIG_FILE" -m stderr_syslog -p /var/run/radvd.pid
}