Bikeshed comments

This commit is contained in:
Joakim Hulthe committed 2026-04-23 15:35:00 +02:00
1 parent 8c8579b3f6
commit 43338c3fd4
4 files changed
+12 -17

No files matched your search

@@ -1,12 +1,9 @@
#!/bin/sh
set -eu
# Are we running systemd?
# Enable and start systemd services
if which systemctl >/dev/null 2>&1 && systemctl is-system-running | grep -vq offline >/dev/null 2>&1; then
# Does `mullvad-daemon.service` exist?
if systemctl list-unit-files mullvad-daemon.service >/dev/null 2>&1; then
systemctl enable "/usr/lib/systemd/system/mullvad-daemon.service"
systemctl start mullvad-daemon.service || echo "Failed to start mullvad-daemon.service"
systemctl enable "/usr/lib/systemd/system/mullvad-early-boot-blocking.service"
fi
systemctl enable "/usr/lib/systemd/system/mullvad-daemon.service"
systemctl start mullvad-daemon.service || echo "Failed to start mullvad-daemon.service"
systemctl enable "/usr/lib/systemd/system/mullvad-early-boot-blocking.service"
fi