forked from Ivasoft/openwrt
packages: sort network related packages into package/network/
SVN-Revision: 33688
This commit is contained in:
27
package/network/config/firewall/files/firewall.init
Executable file
27
package/network/config/firewall/files/firewall.init
Executable file
@@ -0,0 +1,27 @@
|
||||
#!/bin/sh /etc/rc.common
|
||||
# Copyright (C) 2008-2010 OpenWrt.org
|
||||
|
||||
START=45
|
||||
|
||||
FW_LIBDIR=/lib/firewall
|
||||
|
||||
fw() {
|
||||
. $FW_LIBDIR/core.sh
|
||||
fw_$1
|
||||
}
|
||||
|
||||
start() {
|
||||
fw start
|
||||
}
|
||||
|
||||
stop() {
|
||||
fw stop
|
||||
}
|
||||
|
||||
restart() {
|
||||
fw restart
|
||||
}
|
||||
|
||||
reload() {
|
||||
fw reload
|
||||
}
|
||||
Reference in New Issue
Block a user