Run an initial X server config on startup

This commit is contained in:
Josh.5
2022-10-06 22:36:57 +13:00
parent 54911cb97b
commit 469b12087d

View File

@@ -82,6 +82,10 @@ function configure_x_server {
else
echo "Leaving evdev inputs disabled"
fi
# Run initial X server configuration
echo "Runing intial X configuration."
X -configure && cp -fv /root/xorg.conf.new /etc/X11/xorg.conf
}
if ([ "${MODE}" != "s" ] && [ "${MODE}" != "secondary" ]); then