#!/bin/sh if [ -e /run/mgalive -a -f /etc/X11/gdm/custom.conf ]; then if /bin/grep -q nokmsboot /proc/cmdline; then sed -i 's/#WaylandEnable=false/WaylandEnable=false/' /etc/X11/gdm/custom.conf fi fi