summaryrefslogtreecommitdiffhomepage
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-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
+}