This isn't the right place for it:

/etc/firewall.user:
(while true; do ip -6 route add default dev pppoe-wan; sleep 60; done) > 
/dev/null 2>&1 &

This is the right place (on Debian) for it:

/etc/ppp/ipv6-up.d/defaultroute:
ip -6 route add default via "$PPP_REMOTE" dev "$PPP_IFACE"
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to