diff --git a/profiles/pci/handhelds/profiles.toml b/profiles/pci/handhelds/profiles.toml index 9ff9a5d..27927b5 100644 --- a/profiles/pci/handhelds/profiles.toml +++ b/profiles/pci/handhelds/profiles.toml @@ -6,7 +6,7 @@ #ASUS Rog Ally APU #CLASSIDS=0300 #VENDORIDS=1002 -#DEVICEIDS= +#DEVICEIDS=15bf #Lenovo Legion GO APU #CLASSIDS=0300 @@ -47,45 +47,8 @@ post_remove = """ sed -i 's/${kernelparams}/' /etc/sdboot-manage.conf """ -[rog-ally] -desc = "ASUS ROG Ally" -nonfree = false -class_ids= "0300" -vendor_ids="1002" -device_ids = "" -priority = 1 -packages = "hhd hhd-ui jupiter-hw-support" -post_install = """ - echo "ASUS ROG Ally chwd installing..." - username=$(id -nu 1000) - services=("steam-powerbuttond" "hhd@${username}") - maskservices=("jupiter-fan-control" "jupiter-bios-update" "jupiter-controller-update") - echo "Enabling services..." - for service in ${services[@]}; do - systemctl enable --now "${service}.service" - done - echo "Masking potentially conflicting services" - for mask in ${maskservices[@]}; do - systemctl mask "${mask}.service" - done -""" -post_remove = """ - echo "ASUS ROG Ally chwd removing..." - username=$(id -nu 1000) - services=("steam-powerbuttond" "hhd@${username}") - maskservices=("jupiter-fan-control" "jupiter-bios-update" "jupiter-controller-update") - echo 'Disabling services...' - for service in ${services[@]}; do - systemctl disable "${service}.service" - done - echo "Unmasking potentially conflicting services" - for mask in ${maskservices[@]}; do - systemctl unmask "${mask}.service" - done -""" - -[legion-go] -desc = "Lenovo Legion GO" +[phoenix] +desc = "ASUS ROG Ally and Lenovo Legion Go" nonfree = false class_ids= "0300" vendor_ids="1002" @@ -93,7 +56,7 @@ device_ids = "15bf" priority = 1 packages = "hhd hhd-ui jupiter-hw-support" post_install = """ - echo "Lenovo Legion GO chwd installing..." + echo "Ally and Legion chwd installing..." username=$(id -nu 1000) services=("steam-powerbuttond" "hhd@${username}") maskservices=("jupiter-fan-control" "jupiter-bios-update" "jupiter-controller-update") @@ -107,7 +70,7 @@ post_install = """ done """ post_remove = """ - echo "Lenovo Legion Go chwd removing..." + echo "Ally and Legion chwd removing..." username=$(id -nu 1000) services=("steam-powerbuttond" "hhd@${username}") maskservices=("jupiter-fan-control" "jupiter-bios-update" "jupiter-controller-update") @@ -119,4 +82,4 @@ post_remove = """ for mask in ${maskservices[@]}; do systemctl unmask "${mask}.service" done -""" \ No newline at end of file +"""