Subject: fast-moving NetBSD-1.0_BETA causes inaccuracies in install docs
To: None <matthieu@laas.fr, XFree86@XFree86.org>
From: John Kohl <jtk@kolvir.blrc.ma.us>
List: current-users
Date: 10/04/1994 21:52:40
> THIS IS A MESSAGE IN 'MIME' FORMAT.
> If you are reading this, your mail reader may not support MIME.
> Some parts of this message will be readable as plain text.

--mysteryboxofun
Content-Type: text/plain

Your install docs for NetBSD-1.0_BETA were written before a very recent
change in the /sbin/modload program.  It now supports post-load scripts.
Here's what I'm using for the aperture driver:

--mysteryboxofun
Content-Type: text/plain; charset=US-ASCII; name="rc.local.fragment"
Content-Description: /tmp/rc.local.fragment
Content-Transfer-Encoding: quoted-printable

if [ -f /usr/X11R6/lib/X11/kernel/ap.o ]; then
	echo  'loading ap driver'
	modload -o /usr/X11R6/lib/X11/kernel/ap -e ap \
		-p /usr/X11R6/lib/X11/kernel/ap_post \
		/usr/X11R6/lib/X11/kernel/ap.o =

fi


--mysteryboxofun
Content-Type: text/plain; charset=US-ASCII; name="ap_post"
Content-Description: /usr/X11R6/lib/X11/kernel/ap_post
Content-Transfer-Encoding: quoted-printable

#!/bin/sh
#
# $Id: swipe_post.sh,v 1.1 1994/09/17 14:00:06 jtk Exp $
#
echo "XF86 aperture driver loaded as module id $1, type $2, dev $3"
/bin/rm -f /dev/xf86
/sbin/mknod /dev/xf86 c $3 0
exit 0


--mysteryboxofun--