blob: 0becd42f67b0a94a75838c25ba8eb815b63f8ff1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#!/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=uuidd_enable
command="%%PREFIX%%/sbin/uuidd"
procname="${command}"
: ${uuidd_enable="NO"}
load_rc_config $name
run_rc_command "$1"
|