* luci: associate luci_ethers reload with luci_ethers uci config

This commit is contained in:
Jo-Philipp Wich 2008-07-15 23:29:21 +00:00
parent b0d36c88d9
commit 25c82d7382
2 changed files with 7 additions and 2 deletions

View file

@ -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
}

View file

@ -23,14 +23,15 @@ 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"
config internal languages config internal languages
option de "Deutsch" option de "Deutsch"
option en "English" option en "English"