From: sayuan Date: Thu, 21 Jan 2016 14:09:24 +0000 (+0800) Subject: nodogsplash: fix init script X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=b81ee0aa340ad88869ffeec251f9651e3582c943;p=feed%2Frouting.git nodogsplash: fix init script --- 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