Hi,

please do not do dirty hacks like relying on an interface called "wan"
in your scripts. You should develop a hotplug handler which is invoked
for "ifup" events on any interface. As soon as one interface appears
which carries as 0/0 route, you have your "wan".

See the "6in4" and "6to4" packages for inspiration.

~ Jow
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to