mirror of
https://github.com/opnsense/src.git
synced 2026-02-25 11:00:15 -05:00
Make it possible to not run utx at boot. Default to yes so this is a no-op for everyone. Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D38292
20 lines
285 B
Bash
Executable file
20 lines
285 B
Bash
Executable file
#!/bin/sh
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
# PROVIDE: utx
|
|
# REQUIRE: DAEMON FILESYSTEMS
|
|
# BEFORE: LOGIN
|
|
# KEYWORD: shutdown
|
|
|
|
. /etc/rc.subr
|
|
|
|
name="utx"
|
|
desc="Manage the user accounting database"
|
|
rcvar="utx_enable"
|
|
start_cmd="utx boot"
|
|
stop_cmd="utx shutdown"
|
|
|
|
load_rc_config $name
|
|
run_rc_command "$1"
|