Start portmap with uid and gid 0 by default (#2317)
authorFlorian Fainelli <florian@openwrt.org>
Wed, 5 Sep 2007 21:34:00 +0000 (21:34 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Wed, 5 Sep 2007 21:34:00 +0000 (21:34 +0000)
SVN-Revision: 8635

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() {