summaryrefslogtreecommitdiffhomepage
path: root/contrib/package/luci-addons
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 /contrib/package/luci-addons
parentb0d36c88d903c13ee29c7bf588d73e674678cce3 (diff)
* luci: associate luci_ethers reload with luci_ethers uci config
Diffstat (limited to 'contrib/package/luci-addons')
-rw-r--r--contrib/package/luci-addons/dist/etc/init.d/luci_ethers4
1 files changed, 4 insertions, 0 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
+}