summaryrefslogtreecommitdiff
path: root/etc/rc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-04-07 06:11:56 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-04-07 06:11:56 +0000
commitdff2490758a61b29fd0af1e7541ab892025c6ac2 (patch)
tree01c6ab3be3ec3983eef7e342ae96f8396ae9a6b8 /etc/rc
parent46b496dee32ff5cd531f4897d15ec7dd3de5ea6f (diff)
add xdm control to /etc/rc.conf; X11 docs need updating
Diffstat (limited to 'etc/rc')
-rw-r--r--etc/rc8
1 files changed, 7 insertions, 1 deletions
diff --git a/etc/rc b/etc/rc
index 2235bd20c3f..9e67ff364e3 100644
--- a/etc/rc
+++ b/etc/rc
@@ -1,4 +1,4 @@
-# $OpenBSD: rc,v 1.70 1998/03/25 23:07:21 deraadt Exp $
+# $OpenBSD: rc,v 1.71 1998/04/07 06:11:52 deraadt Exp $
# System startup script run by init on autoboot
# or after single-user.
@@ -416,4 +416,10 @@ fi
. /etc/rc.local
date
+
+# Alternatively, on some architectures, xdm may be started in /etc/ttys.
+if [ "X${xdm_flags}" != X"NO" ]; then
+ echo 'starting xdm...'; /usr/X11R6/bin/xdm
+fi
+
exit 0