2006-10-04 20:57:49 +00:00
|
|
|
#!/bin/sh /etc/rc.common
|
2011-11-13 22:15:53 +00:00
|
|
|
# Copyright (C) 2006-2011 OpenWrt.org
|
2006-08-06 11:48:04 +00:00
|
|
|
|
2008-09-03 14:14:19 +00:00
|
|
|
START=19
|
2010-02-09 00:44:30 +00:00
|
|
|
STOP=19
|
|
|
|
|
2013-09-23 10:11:17 +00:00
|
|
|
USE_PROCD=1
|
2006-10-04 20:57:49 +00:00
|
|
|
|
2013-09-23 10:11:17 +00:00
|
|
|
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
|
2006-10-04 20:57:49 +00:00
|
|
|
}
|