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