Have a look into /lib/functions/network.sh there are a lot of functions you can 
use.
Also have a look at http://wiki.openwrt.org/doc/uci header "Query interface 
state" and "Get WAN interface"
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users

Reply via email to