summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsayuan2016-01-21 14:09:24 +0000
committersayuan2016-01-21 14:09:24 +0000
commitb81ee0aa340ad88869ffeec251f9651e3582c943 (patch)
tree7c737175a99def3b1951b160579322d86e26c07d
parent4f8207064a7d668f7b1a80a25973654fa7761dc0 (diff)
downloadrouting-b81ee0aa340ad88869ffeec251f9651e3582c943.tar.gz
nodogsplash: fix init script
-rwxr-xr-xnodogsplash/files/nodogsplash.init2
1 files changed, 1 insertions, 1 deletions
diff --git a/nodogsplash/files/nodogsplash.init b/nodogsplash/files/nodogsplash.init
index 0712fa9..08f980a 100755
--- a/nodogsplash/files/nodogsplash.init
+++ b/nodogsplash/files/nodogsplash.init
@@ -152,7 +152,7 @@ generate_uci_config() {
config_get val "$cfg" config
if [ -n "$val" ] ; then
- if [ -f "$val" ] ; then
+ if [ ! -f "$val" ] ; then
nolog error "Configuration file '$file' doesn't exist"
return 0
fi