* Fixed automatic restart of olsrd while applying OLSR configuration
config event uci_oncommit
option network "/etc/init.d/network restart"
option wireless "/etc/init.d/network restart"
- option olsrd "/etc/init.d/olsrd restart"
+ option olsr "/etc/init.d/olsrd restart"
option dhcp "/etc/init.d/dnsmasq restart"
option luci_fw "/etc/init.d/luci_fw restart"
option dropbear "/etc/init.d/dropbear restart"
self.ucidata[section][option] = nil
else
self.ucidata[section] = nil
+ for i, k in ipairs(self.ucidata[".order"]) do
+ if section == k then
+ table.remove(self.ucidata[".order"], i)
+ end
+ end
end
end
return stat