aboutsummaryrefslogtreecommitdiff
path: root/scripts/os/freebsd/10-rc-conf
diff options
context:
space:
mode:
authorCullum Smith <cullum@sacredheartsc.com>2024-10-16 21:18:49 -0400
committerCullum Smith <cullum@sacredheartsc.com>2024-10-16 21:18:49 -0400
commitaa28ec7ef20517e994f01753e8c4e6fdd4d0643c (patch)
treecea6c733c5e900f4ea54501ca7070694931124dc /scripts/os/freebsd/10-rc-conf
parent3c41d02428317d68ded5eb4fee5baf17f644a741 (diff)
downloadinfrastructure-aa28ec7ef20517e994f01753e8c4e6fdd4d0643c.tar.gz
more desktop fixes
Diffstat (limited to 'scripts/os/freebsd/10-rc-conf')
-rw-r--r--scripts/os/freebsd/10-rc-conf7
1 files changed, 6 insertions, 1 deletions
diff --git a/scripts/os/freebsd/10-rc-conf b/scripts/os/freebsd/10-rc-conf
index 629c72b..2d91005 100644
--- a/scripts/os/freebsd/10-rc-conf
+++ b/scripts/os/freebsd/10-rc-conf
@@ -1,11 +1,16 @@
#!/bin/sh
sysrc -v \
- clear_tmp_enable=YES \
dumpdev=NO \
ipv6_activate_all_interfaces=NO \
syslogd_flags=-ss
+if [ "$clear_tmp_enable" = false ]; then
+ sysrc -v clear_tmp_enable=NO
+else
+ sysrc -v clear_tmp_enable=YES
+fi
+
if [ -n "${console_font:-}" ]; then
sysrc -v allscreens_flags="-f ${console_font}"
fi