Remove kms
hook only if necessary
This commit is contained in:
parent
7728cf9e87
commit
ce68b0513f
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ echo "options nvidia_drm modeset=1" | sudo tee /etc/modprobe.d/nvidia.conf > /de
|
|||
} | sudo tee /etc/modprobe.d/nvidia-power-management.conf > /dev/null;
|
||||
|
||||
sudo sed -i \
|
||||
-e "/^HOOKS=(/{" \
|
||||
-e "/^HOOKS=(.* kms /{" \
|
||||
-e "h; s/^/#/; p;" \
|
||||
-e "g; s/ kms / /" \
|
||||
-e "}" \
|
||||
|
|
Loading…
Reference in a new issue