mirror of
https://github.com/ublue-os/bazzite.git
synced 2024-12-29 12:22:20 +00:00
14 lines
437 B
Diff
14 lines
437 B
Diff
--- a/usr/bin/jupiter-biosupdate
|
|
+++ b/usr/bin/jupiter-biosupdate
|
|
@@ -141,6 +141,10 @@
|
|
# 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"
|