2008-08-04 11:51:58 +00:00
|
|
|
#!/bin/sh /etc/rc.common
|
|
|
|
# Copyright (C) 2008 OpenWrt.org
|
|
|
|
|
|
|
|
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
|
|
|
}
|