mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-30 03:32:36 +00:00
chore: remove sudo from bazzite setup script (#1766)
This commit is contained in:
parent
4e896d470a
commit
80b5745341
@ -242,8 +242,8 @@ if [[ ":Framework:" =~ ":$VEN_ID:" ]]; then
|
||||
if [[ $SYS_ID == "Laptop ("* ]]; then
|
||||
if [[ ! -f /etc/modprobe.d/alsa.conf ]]; then
|
||||
echo 'Fixing 3.5mm jack'
|
||||
sudo tee /etc/modprobe.d/alsa.conf <<< "options snd-hda-intel index=1,0 model=auto,dell-headset-multi"
|
||||
echo 0 | sudo tee /sys/module/snd_hda_intel/parameters/power_save
|
||||
echo "options snd-hda-intel index=1,0 model=auto,dell-headset-multi" > /etc/modprobe.d/alsa.conf
|
||||
echo 0 > /sys/module/snd_hda_intel/parameters/power_save
|
||||
fi
|
||||
if [[ ! -f /etc/udev/rules.d/20-suspend-fixes.rules ]]; then
|
||||
echo 'Fixing suspend issue'
|
||||
@ -253,13 +253,6 @@ if [[ ":Framework:" =~ ":$VEN_ID:" ]]; then
|
||||
fi
|
||||
fi
|
||||
|
||||
# ALLY POWER SAVE FIX
|
||||
if [[ ":ROG Ally X RC72LA:" =~ ":$SYS_ID:" ]]; then
|
||||
# Disable amd_pmf until patched upstream
|
||||
modprobe -r amd_pmf
|
||||
echo "blacklist amd_pmf" | sudo tee /etc/modprobe.d/hhd-blacklist.conf
|
||||
fi
|
||||
|
||||
# WAYDROID FIX
|
||||
if [[ -f "/var/lib/waydroid/lxc/waydroid/config" ]]; then
|
||||
echo "Removing unneeded apparmor entry from Waydroid LXC"
|
||||
|
Loading…
x
Reference in New Issue
Block a user