From 8a1b678504df94745042e74e2df3dcbe764251b1 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 3 Sep 2008 22:33:53 +0000 Subject: [PATCH 1/1] * luci/contrib/luci-addons: always create /var/etc in luci_ethers, fixes #113 - thanks KanjiMonster! --- contrib/package/luci-addons/dist/etc/init.d/luci_ethers | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 661e398db..c3f56042e 100644 --- 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 -- 2.11.0