4dab57f79f
user instead of the "nobody" user for the daemon Signed-off-by: Peter Wagner <tripolar@gmx.at> git-svn-id: svn://svn.openwrt.org/openwrt/packages@38134 3c298f89-4303-0410-b956-a3cf2f4a3e73
17 lines
319 B
Bash
17 lines
319 B
Bash
#!/bin/sh /etc/rc.common
|
|
# Copyright (C) 2006-2011 OpenWrt.org
|
|
|
|
START=19
|
|
STOP=19
|
|
|
|
USE_PROCD=1
|
|
|
|
start_service() {
|
|
user_exists rpc 65533 || user_add rpc 65533 65533 rpc /var/empty
|
|
group_exists rpc 65533 || group_add rpc 65533
|
|
|
|
procd_open_instance
|
|
procd_set_param command /usr/sbin/portmap -f
|
|
procd_close_instance
|
|
}
|