Remove obsolete fix
This commit is contained in:
parent
be8d0438ef
commit
d415db77f6
1 changed files with 0 additions and 13 deletions
|
@ -4,9 +4,6 @@ begin
|
|||
source "$dir/../../Scripts/software.fish"
|
||||
|
||||
function configureSW -V dir
|
||||
set -l indicator "GRUB_CMDLINE_LINUX_DEFAULT=\""
|
||||
set -l config "nvidia_drm.fbdev=1"
|
||||
|
||||
# According to: https://wiki.archlinux.org/title/NVIDIA/Tips_and_tricks
|
||||
begin
|
||||
printf %s\n \
|
||||
|
@ -18,16 +15,6 @@ begin
|
|||
nvidia-suspend.service \
|
||||
nvidia-hibernate.service \
|
||||
nvidia-resume.service
|
||||
|
||||
if ! cat /etc/default/grub | grep "$indicator.*$config" >/dev/null
|
||||
sudo sed -i /etc/default/grub \
|
||||
-e "/$indicator/{" \
|
||||
-e "s/\($indicator.*[^ ]\)\(\"\)/\1 \2/" \
|
||||
-e "s/\($indicator.*\)\(\"\)/\1$config\2/" \
|
||||
-e "}"
|
||||
|
||||
fish "$dir/../grub/main.fish" configure
|
||||
end
|
||||
end
|
||||
|
||||
runInstaller $argv
|
||||
|
|
Loading…
Reference in a new issue