Fix portmap running now as nobody (#2317)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@8693 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
84f4ed6d08
commit
5c098fb5f0
@ -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
|
||||
|
||||
|
@ -7,7 +7,7 @@ DEFAULT=/etc/default/$BIN
|
||||
|
||||
start() {
|
||||
[ -f $DEFAULT ] && . $DEFAULT
|
||||
$BIN -u 0 -g 0 $OPTIONS
|
||||
$BIN $OPTIONS
|
||||
}
|
||||
|
||||
stop() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user