diff options
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/package/luci-addons/dist/etc/init.d/luci_ethers | 4 | ||||
-rw-r--r-- | contrib/package/luci-addons/dist/etc/init.d/luci_hosts | 4 |
2 files changed, 8 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 c3f56042e..8cf46729d 100644 --- a/contrib/package/luci-addons/dist/etc/init.d/luci_ethers +++ b/contrib/package/luci-addons/dist/etc/init.d/luci_ethers @@ -24,8 +24,12 @@ start() { config_foreach apply_lease static_lease test -f /etc/ethers.local && cat /etc/ethers.local >> /var/etc/ethers + + return 0 } stop() { test -f /var/etc/ethers && rm -f /var/etc/ethers + + return 0 } diff --git a/contrib/package/luci-addons/dist/etc/init.d/luci_hosts b/contrib/package/luci-addons/dist/etc/init.d/luci_hosts index 42ccff471..d01bfbbd5 100644 --- a/contrib/package/luci-addons/dist/etc/init.d/luci_hosts +++ b/contrib/package/luci-addons/dist/etc/init.d/luci_hosts @@ -23,8 +23,12 @@ start() { config_load luci_hosts config_foreach apply_host host + + return 0 } stop() { test -f /var/etc/hosts && rm -f /var/etc/hosts + + return 0 } |