projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[package] iwinfo: fix model detection on legacy atheros
[openwrt.git]
/
package
/
firewall
/
files
/
firewall.init
diff --git
a/package/firewall/files/firewall.init
b/package/firewall/files/firewall.init
index
26855f3
..
a2fd0a0
100755
(executable)
--- a/
package/firewall/files/firewall.init
+++ b/
package/firewall/files/firewall.init
@@
-1,14
+1,27
@@
#!/bin/sh /etc/rc.common
#!/bin/sh /etc/rc.common
-# Copyright (C) 2008 OpenWrt.org
+# Copyright (C) 2008
-2010
OpenWrt.org
START=45
START=45
+FW_LIBDIR=/lib/firewall
+
+fw() {
+ . $FW_LIBDIR/core.sh
+ fw_$1
+}
+
start() {
start() {
- . /lib/firewall/uci_firewall.sh
- fw_init
+ fw start
}
stop() {
}
stop() {
- . /lib/firewall/uci_firewall.sh
- fw_stop
+ fw stop
+}
+
+restart() {
+ fw restart
+}
+
+reload() {
+ fw reload
}
}
This page took
0.023379 seconds
and
4
git commands to generate.