2018-07-15 03:05:11 -06:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
2018-07-15 03:53:23 -06:00
|
|
|
# $OpenBSD: Xstartup.in,v 1.4 2018/07/15 09:53:23 matthieu Exp $
|
2018-07-15 03:05:11 -06:00
|
|
|
#
|
|
|
|
prefix="@prefix@"
|
|
|
|
exec_prefix="@exec_prefix@"
|
|
|
|
|
|
|
|
if [ -f /etc/nologin ]; then
|
2018-07-15 03:53:23 -06:00
|
|
|
@bindir@/xmessage -file /etc/nologin -timeout 30 -center
|
2018-07-15 03:05:11 -06:00
|
|
|
exit 1
|
|
|
|
fi
|
2018-07-15 03:53:23 -06:00
|
|
|
exec @bindir@/sessreg -a -l $DISPLAY -u none $USER
|