git.99rst.org
/
openwrt-luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
85461e4
)
* luci/contrib/luci-addons: always create /var/etc in luci_ethers, fixes #113 - thank...
author
Jo-Philipp Wich
<redacted>
Wed, 3 Sep 2008 22:33:53 +0000
(22:33 +0000)
committer
Jo-Philipp Wich
<redacted>
Wed, 3 Sep 2008 22:33:53 +0000
(22:33 +0000)
contrib/package/luci-addons/dist/etc/init.d/luci_ethers
patch
|
blob
|
history
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 661e398db5d01b02cf6a2cac8c879c4d611f0bd1..c3f56042e8fef9d02d2672277d3027adcc460134 100644
(file)
--- a/
contrib/package/luci-addons/dist/etc/init.d/luci_ethers
+++ b/
contrib/package/luci-addons/dist/etc/init.d/luci_ethers
@@
-15,9
+15,10
@@
apply_lease() {
start() {
if [ ! -L /etc/ethers ]; then
test -f /etc/ethers && mv /etc/ethers /etc/ethers.local
- test -d /var/etc || mkdir -p /var/etc
ln -s /var/etc/ethers /etc/ethers
fi
+
+ test -d /var/etc || mkdir -p /var/etc
config_load luci_ethers
config_foreach apply_lease static_lease
git clone https://git.99rst.org/PROJECT