projects
/
openwrt
/
svn-archive
/
archive.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Fix portmap running now as nobody (#2317)
[openwrt/svn-archive/archive.git]
/
net
/
portmap
/
files
/
portmap.init
1
#!/bin/sh /etc/rc.common
2
# Copyright (C) 2006 OpenWrt.org
3
4
START
=
40
5
BIN
=
portmap
6
DEFAULT
=/
etc
/
default
/
$BIN
7
8
start
() {
9
[
-f
$DEFAULT
] &&
.
$DEFAULT
10
$BIN $OPTIONS
11
}
12
13
stop
() {
14
killall
$BIN
15
}
16