netclient-rc-freebsd 407 B

1234567891011121314151617
  1. #!/bin/sh
  2. # PROVIDE: netclient
  3. # REQUIRE: LOGIN DAEMON NETWORKING SERVERS FILESYSTEM
  4. # BEFORE:
  5. # KEYWORD: shutdown
  6. . /etc/rc.subr
  7. name="netclient"
  8. rcvar=netclient_enable
  9. pidfile="/var/run/${name}.pid"
  10. command="/sbin/daemon"
  11. command_args="-c -f -P ${pidfile} -R 10 -t "Netclient" -u root -o /etc/netclient/netclient.log /etc/netclient/netclient checkin -n all"
  12. load_rc_config $name
  13. run_rc_command "$1"