diff --git a/system_files/shared/usr/libexec/ublue-system-setup b/system_files/shared/usr/libexec/ublue-system-setup index 9bee40a..38eeacd 100755 --- a/system_files/shared/usr/libexec/ublue-system-setup +++ b/system_files/shared/usr/libexec/ublue-system-setup @@ -9,7 +9,7 @@ VEN_ID="$(cat /sys/devices/virtual/dmi/id/chassis_vendor)" CPU_VENDOR=$(grep "vendor_id" "/proc/cpuinfo" | uniq | awk -F": " '{ print $2 }') # SCRIPT VERSION -HWS_VER=3 +HWS_VER=4 HWS_VER_FILE="/etc/ublue/hws_version" [[ -f "$HWS_VER_FILE" ]] && HWS_VER_RAN=$(cat $HWS_VER_FILE) @@ -63,9 +63,11 @@ else echo "No karg changes needed" fi +SYS_ID="$(cat /sys/devices/virtual/dmi/id/product_name)" + # FRAMEWORK 13 AMD FIXES if [[ ":Framework:" =~ ":$VEN_ID:" ]]; then - if [[ $SYS_ID == "Laptop ("* ]]; then + if [[ $SYS_ID == "Laptop 13 ("* ]]; then if [[ "AuthenticAMD" == "$CPU_VENDOR" ]]; then if [[ ! -f /etc/modprobe.d/alsa.conf ]]; then echo 'Fixing 3.5mm jack'