Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove sudo from ublue-system-setup #2148

Merged
merged 1 commit into from
Jan 16, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[Unit]
Description=Configure system
After=rpm-ostreed.service
Before=systemd-user-sessions.service

[Service]
Type=oneshot
Expand Down
4 changes: 2 additions & 2 deletions system_files/shared/usr/libexec/ublue-system-setup
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
Loading