mirror of
https://pagure.io/fedora-kickstarts.git
synced 2024-11-22 15:33:07 +00:00
Fix xdriver= passing. Patch from Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
6e1f238145
commit
b500cb3bb9
@ -275,7 +275,7 @@ for o in \`cat /proc/cmdline\` ; do
|
||||
ks="--kickstart=\${o#ks=}"
|
||||
;;
|
||||
xdriver=*)
|
||||
xdriver="--set-driver=\${o#xdriver=}"
|
||||
xdriver="\${o#xdriver=}"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
@ -348,7 +348,12 @@ fi
|
||||
|
||||
# configure X, allowing user to override xdriver
|
||||
if [ -n "\$xdriver" ]; then
|
||||
exists system-config-display --noui --reconfig --set-depth=24 \$xdriver
|
||||
cat > /etc/X11/xorg.conf.d/00-xdriver.conf <<FOE
|
||||
Section "Device"
|
||||
Identifier "Videocard0"
|
||||
Driver "\$xdriver"
|
||||
EndSection
|
||||
FOE
|
||||
fi
|
||||
|
||||
EOF
|
||||
|
@ -342,7 +342,7 @@ for o in \`cat /proc/cmdline\` ; do
|
||||
ks="\${o#ks=}"
|
||||
;;
|
||||
xdriver=*)
|
||||
xdriver="--set-driver=\${o#xdriver=}"
|
||||
xdriver="\${o#xdriver=}"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
@ -359,7 +359,12 @@ fi
|
||||
|
||||
# configure X, allowing user to override xdriver
|
||||
if [ -n "\$xdriver" ]; then
|
||||
exists system-config-display --noui --reconfig --set-depth=24 \$xdriver
|
||||
cat > /etc/X11/xorg.conf.d/00-xdriver.conf <<FOE
|
||||
Section "Device"
|
||||
Identifier "Videocard0"
|
||||
Driver "\$xdriver"
|
||||
EndSection
|
||||
FOE
|
||||
fi
|
||||
|
||||
EOF
|
||||
|
Loading…
Reference in New Issue
Block a user