2008-08-04 19:51:58 +08:00
|
|
|
#!/bin/sh /etc/rc.common
|
2010-05-19 08:50:14 +08:00
|
|
|
# Copyright (C) 2008-2010 OpenWrt.org
|
2008-08-04 19:51:58 +08:00
|
|
|
|
|
|
|
START=45
|
|
|
|
|
2010-05-02 02:22:01 +08:00
|
|
|
FW_LIBDIR=/lib/firewall
|
|
|
|
|
|
|
|
fw() {
|
|
|
|
. $FW_LIBDIR/core.sh
|
|
|
|
fw_$1
|
|
|
|
}
|
|
|
|
|
2008-08-04 19:51:58 +08:00
|
|
|
start() {
|
2010-05-02 02:22:01 +08:00
|
|
|
fw start
|
2008-08-04 19:51:58 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
stop() {
|
2010-05-02 02:22:01 +08:00
|
|
|
fw stop
|
|
|
|
}
|
|
|
|
|
|
|
|
restart() {
|
|
|
|
fw restart
|
|
|
|
}
|
|
|
|
|
|
|
|
reload() {
|
|
|
|
fw reload
|
2008-08-04 19:51:58 +08:00
|
|
|
}
|