Browse Source

install wscons.conf and rc.wscons on alpha/hppa/i386/powerpc and call it from rc

OPENBSD_2_9
mickey 24 years ago
parent
commit
5e00e8199d
2 changed files with 11 additions and 2 deletions
  1. +5
    -1
      src/etc/Makefile
  2. +6
    -1
      src/etc/rc

+ 5
- 1
src/etc/Makefile View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.117 2001/01/21 15:11:18 itojun Exp $
# $OpenBSD: Makefile,v 1.118 2001/02/10 18:03:16 mickey Exp $
TZDIR= /usr/share/zoneinfo
LOCALTIME= US/Pacific
@ -21,6 +21,10 @@ BIN1= bootptab changelist ccd.conf csh.cshrc csh.login csh.logout \
rc.securelevel rc.shutdown remote rpc security services \
shells syslog.conf weekly etc.${MACHINE}/disktab dhclient.conf \
mailer.conf
.if ${MACHINE} == "alpha" || ${MACHINE} == "hppa" || \
${MACHINE} == "i386" || ${MACHINE} == "powerpc"
BIN1+=rc.wscons wscons.conf
.endif
# -rw-rw-r--
BIN2= motd


+ 6
- 1
src/etc/rc View File

@ -1,4 +1,4 @@
# $OpenBSD: rc,v 1.161 2001/01/16 04:08:35 angelos Exp $
# $OpenBSD: rc,v 1.162 2001/02/10 18:03:16 mickey Exp $
# System startup script run by init on autoboot
# or after single-user.
@ -540,6 +540,11 @@ echo -n ' cron'; cron
echo '.'
if [ -f /etc/rc.wscons -a -f /etc/wscons.conf ]; then
echo configuring wscons
/bin/sh /etc/rc.wscons
fi
date
if [ "X${moused_flags}" != X"NO" -a -x /usr/sbin/moused ]; then


Loading…
Cancel
Save