mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
[backfire] merge dual stack firewall
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@25353 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
27
package/firewall/files/firewall.init
Executable file
27
package/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