Root/package/firewall/files/firewall.init

1#!/bin/sh /etc/rc.common
2# Copyright (C) 2008-2010 OpenWrt.org
3
4START=45
5
6FW_LIBDIR=/lib/firewall
7
8fw() {
9    . $FW_LIBDIR/core.sh
10    fw_$1
11}
12
13start() {
14    fw start
15}
16
17stop() {
18    fw stop
19}
20
21restart() {
22    fw restart
23}
24
25reload() {
26    fw reload
27}
28

Archive Download this file



interactive