diff options
Diffstat (limited to 'modules/admin-full/luasrc/model')
-rw-r--r-- | modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua b/modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua index 57a58056fe..cf540cf463 100644 --- a/modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua +++ b/modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua @@ -22,6 +22,7 @@ arg[1] = arg[1] or "" local has_dnsmasq = fs.access("/etc/config/dhcp") local has_firewall = fs.access("/etc/config/firewall") +local has_radvd = fs.access("/etc/config/radvd") local has_3g = fs.access("/usr/bin/gcom") local has_pptp = fs.access("/usr/sbin/pptp") @@ -39,6 +40,10 @@ if has_firewall then m:chain("firewall") end +if has_radvd then + m:chain("radvd") +end + nw.init(m.uci) fw.init(m.uci) |