uptimed.rc 288 B

123456789101112131415161718
  1. #!/bin/sh
  2. #
  3. # $OpenBSD: uptimed.rc,v 1.1.1.1 2013/06/18 05:47:19 rfreeman Exp $
  4. daemon="${TRUEPREFIX}/sbin/uptimed"
  5. daemon_flags="-p /var/run/uptimed/uptimed.pid"
  6. daemon_user="_uptimed"
  7. . /etc/rc.d/rc.subr
  8. rc_reload=NO
  9. rc_pre() {
  10. install -d -o _uptimed /var/run/uptimed
  11. }
  12. rc_cmd $1