projects
/
openwrt
/
svn-archive
/
archive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e775a23
)
[packages] tinyproxy: cope with empty flag options
author
Jo-Philipp Wich
<jow@openwrt.org>
Sat, 20 Nov 2010 19:27:35 +0000
(19:27 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Sat, 20 Nov 2010 19:27:35 +0000
(19:27 +0000)
SVN-Revision: 24049
net/tinyproxy/files/tinyproxy.init
patch
|
blob
|
history
diff --git
a/net/tinyproxy/files/tinyproxy.init
b/net/tinyproxy/files/tinyproxy.init
index d74fe8e4aa75fbb3b05cec8ae92eef5f93b35dda..f81dcd344da5c698f149b350ea33cae502f6bb22 100644
(file)
--- a/
net/tinyproxy/files/tinyproxy.init
+++ b/
net/tinyproxy/files/tinyproxy.init
@@
-113,7
+113,7
@@
proxy_flag() {
local TRUE="${3:-On}"
local FALSE="${4:-Off}"
- config_get_bool _value "$SECTION" "$OPTION"
+ config_get_bool _value "$SECTION" "$OPTION"
0
[ "$_value" -eq "1" ] && _value="$TRUE" || _value="$FALSE"
echo "$OPTION $_value"
}