mirror of
https://github.com/Dasharo/scripts.git
synced 2026-03-06 14:51:26 -08:00
firmware: drop PEPPY special case
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
This commit is contained in:
23
firmware.sh
23
firmware.sh
@@ -260,29 +260,6 @@ else
|
||||
exit_red "Unknown or unsupported device (${device^^}); cannot continue."; return 1
|
||||
fi
|
||||
|
||||
#peppy special case
|
||||
if [ "$device" = "peppy" ]; then
|
||||
hasElan=$(cat /proc/bus/input/devices | grep "Elan")
|
||||
hasCypress=$(cat /proc/bus/input/devices | grep "Cypress")
|
||||
if [[ $hasElan = "" && $hasCypress = "" ]]; then
|
||||
echo -e ""
|
||||
read -ep "Unable to automatically determine trackpad type. Does your Peppy have an Elan pad? [y/N] "
|
||||
if [[ "$REPLY" = "y" || "$REPLY" = "Y" ]]; then
|
||||
if [ "$useUEFI" = true ]; then
|
||||
coreboot_file=${coreboot_uefi_peppy_elan}
|
||||
else
|
||||
coreboot_file=${coreboot_peppy_elan}
|
||||
fi
|
||||
fi
|
||||
elif [[ $hasElan != "" ]]; then
|
||||
if [ "$useUEFI" = true ]; then
|
||||
coreboot_file=${coreboot_uefi_peppy_elan}
|
||||
else
|
||||
coreboot_file=${coreboot_peppy_elan}
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
#auron special case (upgrade from coolstar legacy rom)
|
||||
if [ "$device" = "auron" ]; then
|
||||
echo -e ""
|
||||
|
||||
Reference in New Issue
Block a user