utx: Allow disabling user accounting

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
This commit is contained in:
Emmanuel Vadot 2023-01-31 10:05:32 +01:00
parent cab549c76c
commit eac920e670
2 changed files with 2 additions and 0 deletions

View file

@ -55,6 +55,7 @@ powerd_flags="" # Flags to powerd (if enabled).
tmpmfs="AUTO" # Set to YES to always create an mfs /tmp, NO to never
tmpsize="20m" # Size of mfs /tmp if created
tmpmfs_flags="-S" # Extra mdmfs options for the mfs /tmp
utx_enable="YES" # Enable user accounting
varmfs="AUTO" # Set to YES to always create an mfs /var, NO to never
varsize="32m" # Size of mfs /var if created
varmfs_flags="-S" # Extra mount options for the mfs /var

View file

@ -12,6 +12,7 @@
name="utx"
desc="Manage the user accounting database"
rcvar="utx_enable"
start_cmd="utx boot"
stop_cmd="utx shutdown"