You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
319 B

  1. #!/bin/sh /etc/rc.common
  2. # Copyright (C) 2006-2011 OpenWrt.org
  3. START=19
  4. STOP=19
  5. USE_PROCD=1
  6. start_service() {
  7. user_exists rpc 65533 || user_add rpc 65533 65533 rpc /var/empty
  8. group_exists rpc 65533 || group_add rpc 65533
  9. procd_open_instance
  10. procd_set_param command /usr/sbin/portmap -f
  11. procd_close_instance
  12. }