nodogsplash: fix init script

This commit is contained in:
sayuan 2016-01-21 22:09:24 +08:00
parent 4f8207064a
commit b81ee0aa34

View file

@ -152,7 +152,7 @@ generate_uci_config() {
config_get val "$cfg" config config_get val "$cfg" config
if [ -n "$val" ] ; then if [ -n "$val" ] ; then
if [ -f "$val" ] ; then if [ ! -f "$val" ] ; then
nolog error "Configuration file '$file' doesn't exist" nolog error "Configuration file '$file' doesn't exist"
return 0 return 0
fi fi