From: florian Date: Sat, 8 Sep 2007 18:29:51 +0000 (+0000) Subject: Fix portmap running now as nobody (#2317) X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=5c098fb5f0926af0ee7261e98a9b3e71b5aea8fe;p=packages.git Fix portmap running now as nobody (#2317) git-svn-id: svn://svn.openwrt.org/openwrt/packages@8693 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/net/portmap/Makefile b/net/portmap/Makefile index 0ba46c6a9..9c8ddf052 100644 --- a/net/portmap/Makefile +++ b/net/portmap/Makefile @@ -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 diff --git a/net/portmap/files/portmap.init b/net/portmap/files/portmap.init index f42eabb36..3bbfb573f 100644 --- a/net/portmap/files/portmap.init +++ b/net/portmap/files/portmap.init @@ -7,7 +7,7 @@ DEFAULT=/etc/default/$BIN start() { [ -f $DEFAULT ] && . $DEFAULT - $BIN -u 0 -g 0 $OPTIONS + $BIN $OPTIONS } stop() {