Fix portmap running now as nobody (#2317)
authorFlorian Fainelli <florian@openwrt.org>
Sat, 8 Sep 2007 18:29:51 +0000 (18:29 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Sat, 8 Sep 2007 18:29:51 +0000 (18:29 +0000)
SVN-Revision: 8693

net/portmap/Makefile
net/portmap/files/portmap.init

index 0ba46c6..9c8ddf0 100644 (file)
@@ -35,6 +35,7 @@ endef
 
 MAKE_FLAGS += \
        CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include -DHOSTS_ACCESS -DFACILITY=LOG_DAEMON -DIGNORE_SIGCHLD" \
+       RPCUSER="nobody" \
        WRAP_LIB="-L$(STAGING_DIR)/usr/lib -lwrap" \
        all
 
index f42eabb..3bbfb57 100644 (file)
@@ -7,7 +7,7 @@ DEFAULT=/etc/default/$BIN
 
 start() {
        [ -f $DEFAULT ] && . $DEFAULT
-       $BIN -u 0 -g 0 $OPTIONS
+       $BIN $OPTIONS
 }
 
 stop() {