chore: Use valve script in hwsupport

This commit is contained in:
Kyle Gospodnetich 2025-01-20 09:37:00 -08:00
parent 05b81a6b37
commit e06eef7e0d

View File

@ -1,11 +1,10 @@
--- a/usr/bin/jupiter-check-support
+++ b/usr/bin/jupiter-check-support
@@ -2,6 +2,12 @@
@@ -2,6 +2,11 @@
set -e
+SYS_ID="$(/usr/libexec/hwsupport/sysid)"
+if [[ ! ":Galileo:Jupiter:" =~ ":$SYS_ID:" ]]; then
+if ! /usr/libexec/hwsupport/valve-hardware; then
+ echo "Supported: yes"
+ exit 0
+fi