[packages] btpd: Add default value for bool config options

git-svn-id: svn://svn.openwrt.org/openwrt/packages@23463 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
acinonyx 2010-10-15 21:39:30 +00:00
parent b9b948be14
commit a97e0f8894

View 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"
}