Start portmap with uid and gid 0 by default (#2317)
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 5 Sep 2007 21:34:00 +0000 (21:34 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 5 Sep 2007 21:34:00 +0000 (21:34 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@8635 3c298f89-4303-0410-b956-a3cf2f4a3e73

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