2024-04-18 23:02:36 +00:00
|
|
|
diff --git a/usr/bin/jupiter-biosupdate b/usr/bin/jupiter-biosupdate
|
2024-06-30 07:34:08 +00:00
|
|
|
index a8d6059..7dfac37 100755
|
2023-11-06 09:31:40 +00:00
|
|
|
--- a/usr/bin/jupiter-biosupdate
|
|
|
|
+++ b/usr/bin/jupiter-biosupdate
|
2024-12-18 23:15:55 +00:00
|
|
|
@@ -187,6 +187,14 @@ fi
|
2023-11-06 09:31:40 +00:00
|
|
|
# Die early if inhibited
|
|
|
|
[[ ! -f $BIOS_INHIBIT_FILE ]] || die "Bios updates inhibited, no action ($BIOS_INHIBIT_FILE)"
|
|
|
|
|
2024-12-18 23:15:55 +00:00
|
|
|
+if ! /usr/libexec/hwsupport/valve-hardware; then
|
|
|
|
+ finish 0 no "No Valve Hardware detected"
|
|
|
|
+fi
|
|
|
|
+
|
2023-11-06 09:31:40 +00:00
|
|
|
+if ! systemctl is-enabled jupiter-biosupdate.service; then
|
2024-02-27 23:00:09 +00:00
|
|
|
+ finish 0 no "Bios updates inhibited, no action (Service disabled)"
|
2023-11-06 09:31:40 +00:00
|
|
|
+fi
|
|
|
|
+
|
|
|
|
# Print action
|
|
|
|
modestring="Performing"
|
|
|
|
[[ -z $checkmode ]] || modestring="Checking for"
|