[ create a new paste ] login | about

Link: http://codepad.org/9VQXd0dk    [ raw code | fork ]

Plain Text, pasted on Jun 11:
1
2
3
4
5
6
7
# cleanup any old serverauth files lying around
# [ "`tty`" = "/dev/tty1" ] && /usr/bin/startx -- -nolisten tcp >>/var/log/startx.log 2>&1
if [[ "$(tty)" == "/dev/tty1" && "$(hostname)" == "main" ]] ; then
   find /home/j -maxdepth 1 -type f -iname ".serverauth.*" -exec rm {} \;
   /usr/bin/startx -- -nolisten tcp >>/var/log/startx.log 2>&1
fi


Create a new paste based on this one


Comments: