[packages] radvd: fix a config_get_bool call in initscript, fixes "sh: bad number...
authorJo-Philipp Wich <jow@openwrt.org>
Mon, 15 Nov 2010 01:24:49 +0000 (01:24 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Mon, 15 Nov 2010 01:24:49 +0000 (01:24 +0000)
SVN-Revision: 23999

ipv6/radvd/files/radvd.init

index 65a3f8d..e49a587 100644 (file)
@@ -107,7 +107,7 @@ radvd_add_interface() {
        local list_interface
        local exist
 
-       config_get ignore "$cfg" ignore
+       config_get_bool ignore "$cfg" ignore 0
        [ "$ignore" -ne 0 ] && return 0
 
        config_get interfaces "$cfg" interface