Browse Source

Make sure xdm is installed before trying to run it

ok deraadt@
OPENBSD_4_6
halex 15 years ago
parent
commit
3298322d25
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/etc/rc

+ 2
- 2
src/etc/rc View File

@ -1,4 +1,4 @@
# $OpenBSD: rc,v 1.324 2009/04/17 17:17:03 henning Exp $
# $OpenBSD: rc,v 1.325 2009/05/31 20:57:12 halex Exp $
# System startup script run by init on autoboot
# or after single-user.
@ -809,7 +809,7 @@ if [ X"${wsmoused_flags}" != X"NO" -a -x /usr/sbin/wsmoused ]; then
fi
# Alternatively, on some architectures, xdm may be started in /etc/ttys.
if [ X"${xdm_flags}" != X"NO" ]; then
if [ X"${xdm_flags}" != X"NO" -a -x /usr/X11R6/bin/xdm ]; then
echo 'starting xdm...'; /usr/X11R6/bin/xdm ${xdm_flags}
fi


Loading…
Cancel
Save