* luci: associate luci_ethers reload with luci_ethers uci config
This commit is contained in:
parent
b0d36c88d9
commit
25c82d7382
2 changed files with 7 additions and 2 deletions
|
@ -24,3 +24,7 @@ start() {
|
||||||
|
|
||||||
test -f /etc/ethers.local && cat /etc/ethers.local >> /var/etc/ethers
|
test -f /etc/ethers.local && cat /etc/ethers.local >> /var/etc/ethers
|
||||||
}
|
}
|
||||||
|
|
||||||
|
stop() {
|
||||||
|
test -f /var/etc/ethers && rm -f /var/etc/ethers
|
||||||
|
}
|
||||||
|
|
|
@ -23,11 +23,12 @@ config event uci_oncommit
|
||||||
option wireless "/etc/init.d/network restart"
|
option wireless "/etc/init.d/network restart"
|
||||||
option olsr "/etc/init.d/olsrd restart"
|
option olsr "/etc/init.d/olsrd restart"
|
||||||
option dhcp "/etc/init.d/dnsmasq restart"
|
option dhcp "/etc/init.d/dnsmasq restart"
|
||||||
option luci_fw "/etc/init.d/luci_fw restart"
|
|
||||||
option dropbear "/etc/init.d/dropbear restart"
|
option dropbear "/etc/init.d/dropbear restart"
|
||||||
option httpd "/etc/init.d/httpd restart"
|
option httpd "/etc/init.d/httpd restart"
|
||||||
option fstab "/etc/init.d/fstab restart"
|
option fstab "/etc/init.d/fstab restart"
|
||||||
option qos "/etc/init.d/qos restart"
|
option qos "/etc/init.d/qos restart"
|
||||||
|
option luci_fw "/etc/init.d/luci_fw restart"
|
||||||
|
option luci_ethers "/etc/init.d/luci_ethers restart; /etc/init.d/dnsmasq restart"
|
||||||
option luci_splash "/etc/init.d/luci_splash restart"
|
option luci_splash "/etc/init.d/luci_splash restart"
|
||||||
option freifunk "/etc/init.d/luci_freifunk restart"
|
option freifunk "/etc/init.d/luci_freifunk restart"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue