Performed minor formatting.

el9
Vitaly Zaitsev 3 years ago
parent 432c941951
commit a641ee97bf
No known key found for this signature in database
GPG Key ID: BF99FC6DD45AB90A

@ -401,7 +401,7 @@ fi
if [ "$1" -eq "1" ]; then
%{_grubby} --remove-args='nomodeset' --args='%{_dracutopts}' &>/dev/null
sed -i -e 's/GRUB_CMDLINE_LINUX="/GRUB_CMDLINE_LINUX="%{_dracutopts} /g' %{_sysconfdir}/default/grub
if [ -f %{_sysconfdir}/gdm/custom.conf ] ; then
if [ -f %{_sysconfdir}/gdm/custom.conf ]; then
sed -i -e 's/#WaylandEnable=.*/WaylandEnable=false/' %{_sysconfdir}/gdm/custom.conf
fi
fi || :
@ -410,7 +410,7 @@ fi || :
if [ "$1" -eq "0" ]; then
%{_grubby} --remove-args='%{_dracutopts}' &>/dev/null
sed -i -e 's/%{_dracutopts} //g' %{_sysconfdir}/default/grub
if [ -f %{_sysconfdir}/gdm/custom.conf ] ; then
if [ -f %{_sysconfdir}/gdm/custom.conf ]; then
sed -i -e 's/WaylandEnable=.*/#WaylandEnable=false/' %{_sysconfdir}/gdm/custom.conf
fi
# Backup and disable previously used xorg.conf

Loading…
Cancel
Save