pivasoftware / easycwmp

EasyCwmp:
http://www.easycwmp.org/
GNU General Public License v2.0
73 stars 59 forks source link

auto get local interface #13

Open sinkcup opened 9 years ago

sinkcup commented 9 years ago

/etc/config/easycwmp use eth0 as default, I wish it can auto get wan interface, don't need edit manually.

# easycwmp uci configuration

config local
    option interface eth0
    option port 7547
pivasoftware commented 9 years ago

you can add you own script to auto updat the wan interface in the config. Otherwise please send your proposition as a patch