I'd suggest to use "ip route list exact 0.0.0.0/0" to find the device
and then the find_config() shell function to map the device to an uci
interface name.

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

Reply via email to