summaryrefslogtreecommitdiff
path: root/config/Xstartup.in
blob: c42a16aafab5dbfd42503f7cda9bcda385ee7344 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
# 
# $OpenBSD: Xstartup.in,v 1.4 2018/07/15 09:53:23 matthieu Exp $
#
prefix="@prefix@"
exec_prefix="@exec_prefix@"

if [ -f /etc/nologin ]; then
        @bindir@/xmessage -file /etc/nologin -timeout 30 -center
        exit 1
fi
exec @bindir@/sessreg -a -l $DISPLAY -u none $USER