From a97e0f88947cae7d76e878ecf5e67d83b0b61d47 Mon Sep 17 00:00:00 2001 From: acinonyx Date: Fri, 15 Oct 2010 21:39:30 +0000 Subject: [PATCH] [packages] btpd: Add default value for bool config options git-svn-id: svn://svn.openwrt.org/openwrt/packages@23463 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- net/btpd/files/btpd.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/btpd/files/btpd.init b/net/btpd/files/btpd.init index f06be5181..8f266c62b 100644 --- a/net/btpd/files/btpd.init +++ b/net/btpd/files/btpd.init @@ -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" }