aboutsummaryrefslogtreecommitdiff
path: root/lib/10-core
diff options
context:
space:
mode:
authorCullum Smith <cullum@sacredheartsc.com>2024-10-22 22:01:49 -0400
committerCullum Smith <cullum@sacredheartsc.com>2024-10-22 22:01:49 -0400
commitf9301e0fe52313581920026a186955c78fcbe831 (patch)
tree9a9d8ea8df1bbf2e5d1253d2398ad469acd96b12 /lib/10-core
parent39358af4e65a0bcd193797ac5003b0adc9b4225b (diff)
downloadinfrastructure-f9301e0fe52313581920026a186955c78fcbe831.tar.gz
zfs autosnapshots, syncthing, pam cleanup
Diffstat (limited to 'lib/10-core')
-rw-r--r--lib/10-core2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/10-core b/lib/10-core
index bd4e80a..60d1101 100644
--- a/lib/10-core
+++ b/lib/10-core
@@ -351,7 +351,7 @@ _boxconf_run(){
"${BOXCONF_SITE_SCRIPT_DIR}/hostname/${BOXCONF_HOSTNAME}"
# Reboot the target host if requested.
- if [ "${BOXCONF_NEED_REBOOT:-}" = true ]; then
+ if [ "${BOXCONF_NEED_REBOOT:-}" = true ] && [ "${boxconf_reboot:-}" != false ]; then
log '$BOXCONF_NEED_REBOOT was set. Rebooting host...'
reboot
fi