From 164cb30d934075cc49ee59f1c2e5c469eddd5c28 Mon Sep 17 00:00:00 2001 From: Andreas Wrede Date: Wed, 23 Sep 2026 14:30:05 -0400 Subject: [PATCH] deploy: gate cockpit block on ENABLE_COCKPIT SKIP_COCKPIT only existed in the deleted deploy.conf; under set -u the cockpit block would abort with an unbound variable. Co-Authored-By: Claude Sonnet 5 --- deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy.sh b/deploy.sh index 0749caa..c0fca42 100755 --- a/deploy.sh +++ b/deploy.sh @@ -283,7 +283,7 @@ install -D -m0644 modem/van-sms-watch.service /etc/systemd/system/van-sms-watch. # are PolicyKit-gated). Not a service, just a tool: sudo van-sms-send install -D -m0755 modem/van-sms-send /usr/local/sbin/van-sms-send -if [ "$SKIP_COCKPIT" -ne "1" ]; then +if [ "$ENABLE_COCKPIT" = 1 ]; then echo "== cockpit plugin ==" install -d /usr/share/cockpit/vanrouter for f in cockpit/vanrouter/*; do