Xstartup 308 B

12345678910111213
  1. #!/bin/sh
  2. #
  3. # $OpenBSD: Xstartup.in,v 1.4 2018/07/15 09:53:23 matthieu Exp $
  4. #
  5. prefix="/usr/X11R6"
  6. exec_prefix="${prefix}"
  7. if [ -f /etc/nologin ]; then
  8. ${exec_prefix}/bin/xmessage -file /etc/nologin -timeout 30 -center
  9. exit 1
  10. fi
  11. exec ${exec_prefix}/bin/sessreg -a -l $DISPLAY -u none $USER