projects
/
openwrt
/
staging
/
mkresin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51cae70
)
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)
SVN-Revision: 21493
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 f37b1e69612b03c4c794b43b58aa52f817387ff1..d0b87a770b8025a94b172eb7fe92f0b65cef2e2b 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}))
}