ports/misc/e2fsprogs-libuuid/files/uuidd.in
Ion-Mihai Tetcu 2d64e801f9 fix rc.d script to provide a default for its _enable variable.
Andrew Pantyukhin <infofarmer@FreeBSD.org>

PR:		ports/123419
Submitted by:	infofarmer@
Approved by:	maintainer
2008-05-06 22:29:03 +00:00

22 lines
389 B
Bash

#!/bin/sh
#
# rcNG script to start uuidd at boot-time on rcNG-enabled systems,
# such as FreeBSD.
#
# (C) 2008 by Matthias Andree.
# Licensed under the modified (= 2-clause) BSD license.
# PROVIDE: uuidd
# BEFORE: DAEMON
. %%RC_SUBR%%
name="uuidd"
rcvar=`set_rcvar`
command="%%PREFIX%%/sbin/uuidd"
procname="${command}"
: ${uuidd_enable="NO"}
load_rc_config $name
run_rc_command "$1"