mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-08 09:39:16 +00:00
16 lines
539 B
Diff
16 lines
539 B
Diff
diff --git a/usr/bin/jupiter-biosupdate b/usr/bin/jupiter-biosupdate
|
|
index 1f89423..ee3abd4 100755
|
|
--- a/usr/bin/jupiter-biosupdate
|
|
+++ b/usr/bin/jupiter-biosupdate
|
|
@@ -185,6 +185,10 @@ fi
|
|
# Die early if inhibited
|
|
[[ ! -f $BIOS_INHIBIT_FILE ]] || die "Bios updates inhibited, no action ($BIOS_INHIBIT_FILE)"
|
|
|
|
+if ! systemctl is-enabled jupiter-biosupdate.service; then
|
|
+ finish 0 no "Bios updates inhibited, no action (Service disabled)"
|
|
+fi
|
|
+
|
|
# Print action
|
|
modestring="Performing"
|
|
[[ -z $checkmode ]] || modestring="Checking for"
|