1 2 3 4 5 6 7
#!/bin/sh LOCK=/run/lock/reload-dm if [ -f "$LOCK" ]; then rm -f $LOCK touch /etc/draklive-install.d/gnome-reboot /usr/bin/systemctl --no-block restart display-manager.service fi