Skip to content

Commit

Permalink
Merge pull request #99 from bubbleguuum/master
Browse files Browse the repository at this point in the history
fix error in disabling nvidia service
  • Loading branch information
sndirsch authored Jul 11, 2024
2 parents 2a131c1 + 220d485 commit 956a1c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prime-select.sh
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ function common_set {
for name in persistenced powerd
do
if systemctl is-active --quiet nvidia-${name}.service; then
systemctl disable --now nvidia-powerd.service
systemctl disable --now nvidia-${name}.service
fi
done
# kill all nvidia related process to fix failure to unload nvidia modules (issue#50)
Expand Down

0 comments on commit 956a1c5

Please sign in to comment.