mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-16 03:24:07 +00:00
83eb2c3700
literal name_enable wherever possible, and ${name}_enable when it's not, to prepare for the demise of set_rcvar(). In cases where I had to hand-edit unusual instances also modify formatting slightly to be more uniform (and in some cases, correct). This includes adding some $FreeBSD$ tags, and most importantly moving rcvar= to right after name= so it's clear that one is derived from the other.
27 lines
689 B
Bash
27 lines
689 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=uuidd_enable
|
|
command="%%PREFIX%%/sbin/uuidd"
|
|
procname="${command}"
|
|
|
|
: ${uuidd_enable="NO"}
|
|
|
|
load_rc_config $name
|
|
run_rc_command "$1"
|