diff --git a/system_files/shared/usr/lib/systemd/system/ublue-system-setup.service b/system_files/shared/usr/lib/systemd/system/ublue-system-setup.service index 637a5b3b04a..c6719eb8143 100644 --- a/system_files/shared/usr/lib/systemd/system/ublue-system-setup.service +++ b/system_files/shared/usr/lib/systemd/system/ublue-system-setup.service @@ -1,7 +1,6 @@ [Unit] Description=Configure system After=rpm-ostreed.service -Before=systemd-user-sessions.service [Service] Type=oneshot diff --git a/system_files/shared/usr/libexec/ublue-system-setup b/system_files/shared/usr/libexec/ublue-system-setup index 38eeacd3c4e..441b34a756e 100755 --- a/system_files/shared/usr/libexec/ublue-system-setup +++ b/system_files/shared/usr/libexec/ublue-system-setup @@ -71,8 +71,8 @@ if [[ ":Framework:" =~ ":$VEN_ID:" ]]; then if [[ "AuthenticAMD" == "$CPU_VENDOR" ]]; 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 + tee /etc/modprobe.d/alsa.conf <<< "options snd-hda-intel index=1,0 model=auto,dell-headset-multi" + echo 0 | tee /sys/module/snd_hda_intel/parameters/power_save fi if [[ ! -f /etc/udev/rules.d/20-suspend-fixes.rules ]]; then echo 'Fixing suspend issue'