projects
/
openwrt
/
svn-archive
/
archive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Start portmap with uid and gid 0 by default (#2317)
[openwrt/svn-archive/archive.git]
/
net
/
portmap
/
files
/
portmap.init
diff --git
a/net/portmap/files/portmap.init
b/net/portmap/files/portmap.init
index 3bbfb573f8c2239b48fd74d7f66fb52dd8613be5..f42eabb366d54a38a0a2f9a2753ac0a6b12189e5 100644
(file)
--- a/
net/portmap/files/portmap.init
+++ b/
net/portmap/files/portmap.init
@@
-7,7
+7,7
@@
DEFAULT=/etc/default/$BIN
start() {
[ -f $DEFAULT ] && . $DEFAULT
- $BIN $OPTIONS
+ $BIN
-u 0 -g 0
$OPTIONS
}
stop() {