Start portmap with uid and gid 0 by default (#2317)
[openwrt/svn-archive/archive.git] / net / portmap / files / portmap.init
index 3bbfb573f8c2239b48fd74d7f66fb52dd8613be5..f42eabb366d54a38a0a2f9a2753ac0a6b12189e5 100644 (file)
@@ -7,7 +7,7 @@ DEFAULT=/etc/default/$BIN
 
 start() {
        [ -f $DEFAULT ] && . $DEFAULT
-       $BIN $OPTIONS
+       $BIN -u 0 -g 0 $OPTIONS
 }
 
 stop() {