From aa28ec7ef20517e994f01753e8c4e6fdd4d0643c Mon Sep 17 00:00:00 2001 From: Cullum Smith Date: Wed, 16 Oct 2024 21:18:49 -0400 Subject: more desktop fixes --- scripts/os/freebsd/10-rc-conf | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'scripts/os/freebsd/10-rc-conf') 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 -- cgit v1.2.3