projects
/
oweals
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
firewall: provide examples of ssh port relocation on firewall and IPsec passthrough...
[oweals/openwrt.git]
/
package
/
firewall
/
files
/
firewall.init
1
#!/bin/sh /etc/rc.common
2
# Copyright (C) 2008-2010 OpenWrt.org
3
4
START=45
5
6
FW_LIBDIR=/lib/firewall
7
8
fw() {
9
. $FW_LIBDIR/core.sh
10
fw_$1
11
}
12
13
start() {
14
fw start
15
}
16
17
stop() {
18
fw stop
19
}
20
21
restart() {
22
fw restart
23
}
24
25
reload() {
26
fw reload
27
}