1 2 3 4 5 6 7 8 9
#!/bin/bash if [ -e /usr/X11R6/bin/X ]; then if [ -e /etc/startx ]; then rm -f /etc/startx startx cat /etc/motd fi fi