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 3bbfb57..f42eabb 100644 (file)
@@ -7,7 +7,7 @@ DEFAULT=/etc/default/$BIN
 
 start() {
        [ -f $DEFAULT ] && . $DEFAULT
-       $BIN $OPTIONS
+       $BIN -u 0 -g 0 $OPTIONS
 }
 
 stop() {