projects
/
15.05
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d553f3e
)
[package] firewall: use uci_get_state() wrapper
author
Jo-Philipp Wich
<jow@openwrt.org>
Mon, 17 May 2010 19:38:13 +0000
(19:38 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Mon, 17 May 2010 19:38:13 +0000
(19:38 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21493
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
package/firewall/files/lib/core.sh
patch
|
blob
|
history
diff --git
a/package/firewall/files/lib/core.sh
b/package/firewall/files/lib/core.sh
index
f37b1e6
..
d0b87a7
100644
(file)
--- a/
package/firewall/files/lib/core.sh
+++ b/
package/firewall/files/lib/core.sh
@@
-84,7
+84,7
@@
fw_reload() {
}
fw_is_loaded() {
- local bool=$(uci
-q -P /var/state get
firewall.core.loaded)
+ local bool=$(uci
_get_state
firewall.core.loaded)
return $((! ${bool:-0}))
}