projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* luci: associate luci_ethers reload with luci_ethers uci config
[project/luci.git]
/
contrib
/
package
/
luci-addons
/
dist
/
etc
/
init.d
/
luci_ethers
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
e0f2470
..
661e398
100644
(file)
--- 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
+}