head	1.7;
access;
symbols
	RELENG_3_0_0_RELEASE:1.5
	old_RELENG_2_2_7_RELEASE:1.2
	old_RELENG_2_2_6_RELEASE:1.2
	old_RELENG_2_2_5_RELEASE:1.2
	old_RELENG_2_2_2_RELEASE:1.2
	old_RELENG_2_2_1_RELEASE:1.2
	old_RELENG_2_2_0_RELEASE:1.2
	old_RELENG_2_1_7_RELEASE:1.1
	old_RELENG_2_1_6_1_RELEASE:1.1
	old_RELENG_2_1_6_RELEASE:1.1
	old_RELENG_2_2:1.2.0.2
	old_RELENG_2_2_BP:1.2
	old_RELENG_2_1_5_RELEASE:1.1
	old_RELENG_2_1_0_RELEASE:1.1
	old_RELENG_2_1_0:1.1.0.2;
locks; strict;
comment	@# @;


1.7
date	98.11.11.07.04.10;	author peter;	state dead;
branches;
next	1.6;

1.6
date	98.11.05.04.19.26;	author peter;	state Exp;
branches;
next	1.5;

1.5
date	98.09.07.16.15.59;	author cracauer;	state Exp;
branches;
next	1.4;

1.4
date	97.02.22.12.48.25;	author peter;	state Exp;
branches;
next	1.3;

1.3
date	97.01.14.06.22.08;	author jkh;	state Exp;
branches;
next	1.2;

1.2
date	95.10.28.12.35.06;	author peter;	state Exp;
branches
	1.2.2.1;
next	1.1;

1.1
date	95.06.25.17.29.48;	author sos;	state Exp;
branches;
next	;

1.2.2.1
date	98.09.09.10.28.07;	author cracauer;	state Exp;
branches;
next	;


desc
@@


1.7
log
@Rename joy,ibcs2,linux to joy.sh,ibcs2.sh,linux.sh (via repo copy).
@
text
@#!/bin/sh

# $Id: linux,v 1.6 1998/11/05 04:19:26 peter Exp $

FOUND=`kldstat -v | egrep 'linux(aout|elf)'`

if [ "x$FOUND" != x ] ; then           
	echo Linux driver already loaded
	exit 1
else    
	kldload linux                                                
fi
@


1.6
log
@Update to use kldload, no temporary files!
@
text
@d3 1
a3 1
# $Id: linux,v 1.5 1998/09/07 16:15:59 cracauer Exp $
@


1.5
log
@Load linux emulator lkm only when not already loaded. This avoids
leftover files in /tmp. Script slightly modified from PR version
to use fewer processes.
PR:		i386/7725
Submitted by:	Stefan Eggers seggers@@semyam.dinoco.de
@
text
@d3 1
a3 1
# $Id: linux,v 1.4 1997/02/22 12:48:25 peter Exp $
d5 4
a8 2
if modstat -n linux_mod > /dev/null ; then
	echo Linux lkm already loaded
d10 2
a11 2
else
	modload -e linux_mod -u -q -o /tmp/linux_mod /lkm/linux_mod.o
@


1.4
log
@Revert $FreeBSD$ back to $Id$
@
text
@d2 9
a10 2
# $Id$
modload -e linux_mod -u -q -o /tmp/linux_mod /lkm/linux_mod.o
@


1.3
log
@Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.2
log
@Do a pass over the broken LKM's and update them to use the "new"
convention of having their entry point named "<modname>_mod"".
Symorder is enforcing this when the current bsd.kmod.mk is installed.

I've not tested all these, but at least they all compile now.

Reattach them to the makefile.

Note that the change that I made to symorder needs to be compiled and
installed before any LKM's will work - the last version was corrupting
the relocation tables.  A "make world" will to this, but if you
manually run a make on the lkm's you'll need to take care of it by
hand.
@
text
@d2 1
a2 1
# $Id: linux,v 1.1 1995/06/25 17:29:48 sos Exp $
@


1.2.2.1
log
@MFC: Load linux emulator lkm only when not already loaded. This avoids
leftover files in /tmp. Script slightly modified from PR version
to use fewer processes.
PR:		i386/7725
Submitted by:	Stefan Eggers seggers@@semyam.dinoco.de
@
text
@d2 2
a3 9

# $Id: linux,v 1.2 1995/10/28 12:35:06 peter Exp $

if modstat -n linux_mod > /dev/null ; then
	echo Linux lkm already loaded
	exit 1
else
	modload -e linux_mod -u -q -o /tmp/linux_mod /lkm/linux_mod.o
fi
@


1.1
log
@First incarnation of our Linux emulator or rather compatibility code.
This first shot only incorporaties so much functionality that DOOM
can run (the X version), signal handling is VERY weak, so is many
other things. But it meets my milestone number one (you guessed it
- running DOOM).

Uses /compat/linux as prefix for loading shared libs, so it won't
conflict with our own libs.

Kernel must be compiled with "options COMPAT_LINUX" for this to work.
@
text
@d2 2
a3 2
# $Id$
modload -e linux_init /lkm/linux_mod.o
@
