From a697e5af52517dd63b11b3cb2f0f82c83e8108b9 Mon Sep 17 00:00:00 2001 From: tteckster Date: Mon, 20 Nov 2023 17:46:05 -0500 Subject: [PATCH] Update monitor-all.sh tweak --- misc/monitor-all.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/monitor-all.sh b/misc/monitor-all.sh index e4251757..e7702268 100644 --- a/misc/monitor-all.sh +++ b/misc/monitor-all.sh @@ -51,7 +51,7 @@ while true; do fi # Skip instances based on onboot and templates - onboot=$($config_cmd $instance | grep onboot | grep -q "onboot: 0" && echo "true" || echo "false") + onboot=$($config_cmd $instance | grep -q "onboot: 0" || ( ! $config_cmd $instance | grep -q "onboot" ) && echo "true" || echo "false") template=$($config_cmd $instance | grep template | grep -q "template:" && echo "true" || echo "false") if [ "$onboot" == "true" ]; then