summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2008-07-15 23:29:21 +0000
committerJo-Philipp Wich <jow@openwrt.org>2008-07-15 23:29:21 +0000
commit25c82d73829c1b078429b7b4462364d0017caba2 (patch)
treeef5d7d3697f6dccfc45c4083d169aaa55e2d0045
parentb0d36c88d903c13ee29c7bf588d73e674678cce3 (diff)
* luci: associate luci_ethers reload with luci_ethers uci config
-rw-r--r--contrib/package/luci-addons/dist/etc/init.d/luci_ethers4
-rw-r--r--libs/web/root/etc/config/luci5
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"