diff options
-rw-r--r-- | contrib/package/luci-addons/dist/etc/init.d/luci_ethers | 4 | ||||
-rw-r--r-- | libs/web/root/etc/config/luci | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/contrib/package/luci-addons/dist/etc/init.d/luci_ethers b/contrib/package/luci-addons/dist/etc/init.d/luci_ethers index e0f2470ad..661e398db 100644 --- a/contrib/package/luci-addons/dist/etc/init.d/luci_ethers +++ b/contrib/package/luci-addons/dist/etc/init.d/luci_ethers @@ -24,3 +24,7 @@ start() { test -f /etc/ethers.local && cat /etc/ethers.local >> /var/etc/ethers } + +stop() { + test -f /var/etc/ethers && rm -f /var/etc/ethers +} diff --git a/libs/web/root/etc/config/luci b/libs/web/root/etc/config/luci index 30acca421..d85d4b45a 100644 --- a/libs/web/root/etc/config/luci +++ b/libs/web/root/etc/config/luci @@ -23,14 +23,15 @@ config event uci_oncommit option wireless "/etc/init.d/network 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" option httpd "/etc/init.d/httpd restart" option fstab "/etc/init.d/fstab 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 freifunk "/etc/init.d/luci_freifunk restart" - + config internal languages option de "Deutsch" option en "English" |