-
-
Notifications
You must be signed in to change notification settings - Fork 262
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Clean up hardware & user setup scripts
- Loading branch information
Showing
6 changed files
with
40 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
system_files/desktop/shared/usr/libexec/hardware/handycon-supported-hardware
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/usr/bin/bash | ||
SYS_ID="$(cat /sys/devices/virtual/dmi/id/product_name)" | ||
if [[ ":AYANEO GEEK:AYANEO 2:AYANEO 2S:AOKZOE A1 AR07:G1619-04:Win600:" =~ ":$SYS_ID:" ]]; then | ||
exit 0 | ||
else | ||
exit 1 | ||
fi |
7 changes: 7 additions & 0 deletions
7
system_files/desktop/shared/usr/libexec/hardware/hhd-supported-hardware
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/usr/bin/bash | ||
SYS_ID="$(cat /sys/devices/virtual/dmi/id/product_name)" | ||
if [[ ":ROG Ally RC71L_RC71L:83E1:G1618-04:G1617-01:G1619-05:AIR Plus:" =~ ":$SYS_ID:" ]]; then | ||
exit 0 | ||
else | ||
exit 1 | ||
fi |
7 changes: 7 additions & 0 deletions
7
system_files/desktop/shared/usr/libexec/hardware/rotation-fix-hardware
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/usr/bin/bash | ||
SYS_ID="$(cat /sys/devices/virtual/dmi/id/product_name)" | ||
if [[ ":ROG Ally RC71L_RC71L:83E1:Loki Max:G1618-04:" =~ ":$SYS_ID:" ]]; then | ||
exit 0 | ||
else | ||
exit 1 | ||
fi |
7 changes: 7 additions & 0 deletions
7
system_files/desktop/shared/usr/libexec/hardware/valve-hardware
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/usr/bin/bash | ||
SYS_ID="$(cat /sys/devices/virtual/dmi/id/product_name)" | ||
if [[ ":Jupiter:Galileo:" =~ ":$SYS_ID:" ]]; then | ||
exit 0 | ||
else | ||
exit 1 | ||
fi |