ports/misc/e2fsprogs-libuuid/files/uuidd.in
Doug Barton 1d6b4b3f91 Begin the process of deprecating sysutils/rc_subr by
s#. %%RC_SUBR%%#. /etc/rc.subr#
2010-03-27 00:15:24 +00:00

26 lines
688 B
Bash

#!/bin/sh
#
# rcNG script to start uuidd at boot-time on rcNG-enabled systems,
# such as FreeBSD. Note: Starting uuidd at boot-time is not strictly
# necessary, the library will - as of 1.41.5 - silently launch an
# instance of uuidd that exits after 300 seconds; for most accurate
# time-based uuids generated from unprivileged user accounts it may be
# useful to run it system-wide.
#
# (C) 2008, 2009 by Matthias Andree.
# Licensed under the modified (= 2-clause) BSD license.
# PROVIDE: uuidd
# BEFORE: DAEMON
. /etc/rc.subr
name="uuidd"
rcvar=`set_rcvar`
command="%%PREFIX%%/sbin/uuidd"
procname="${command}"
: ${uuidd_enable="NO"}
load_rc_config $name
run_rc_command "$1"