[packages] btpd: Add default value for bool config options
authorVasilis Tsiligiannis <acinonyx@openwrt.gr>
Fri, 15 Oct 2010 21:39:30 +0000 (21:39 +0000)
committerVasilis Tsiligiannis <acinonyx@openwrt.gr>
Fri, 15 Oct 2010 21:39:30 +0000 (21:39 +0000)
SVN-Revision: 23463

net/btpd/files/btpd.init

index f06be51..8f266c6 100644 (file)
@@ -7,7 +7,7 @@ append_bool() {
        local option="$2"
        local value="$3"
        local _loctmp
-       config_get_bool _loctmp "$section" "$option"
+       config_get_bool _loctmp "$section" "$option" 0
        [ "$_loctmp" -gt 0 ] && append args "$value"
 }