aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/linux
diff options
context:
space:
mode:
authorSheldon Hearn <sheldonh@FreeBSD.org>2000-11-02 13:48:53 +0000
committerSheldon Hearn <sheldonh@FreeBSD.org>2000-11-02 13:48:53 +0000
commit59807abe47306b1d44dc53e1c9848cdc2a27f14d (patch)
treee02ff9a9c691a81aff58d36114dd7bc44d3b4168 /sys/modules/linux
parentbe0d2a8f18fd53ec07e372d67a9b1131ddffdc33 (diff)
Notes
Diffstat (limited to 'sys/modules/linux')
-rw-r--r--sys/modules/linux/Makefile6
-rw-r--r--sys/modules/linux/linux.847
-rw-r--r--sys/modules/linux/linux.sh21
3 files changed, 0 insertions, 74 deletions
diff --git a/sys/modules/linux/Makefile b/sys/modules/linux/Makefile
index 83a3db101725..fe762be1ef42 100644
--- a/sys/modules/linux/Makefile
+++ b/sys/modules/linux/Makefile
@@ -47,10 +47,4 @@ ${GENSYSCALL}: @/kern/makesyscalls.sh \
linux_sysent.c > linux_sysent.c.fixup
mv -f linux_sysent.c.fixup linux_sysent.c
-.if exists(${DESTDIR}/usr/bin)
-afterinstall:
- ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
- ${.CURDIR}/linux.sh ${DESTDIR}/usr/sbin/linux
-.endif
-
.include <bsd.kmod.mk>
diff --git a/sys/modules/linux/linux.8 b/sys/modules/linux/linux.8
deleted file mode 100644
index 13f3f0b31f07..000000000000
--- a/sys/modules/linux/linux.8
+++ /dev/null
@@ -1,47 +0,0 @@
-.\"
-.\" Copyright (c) 1997
-.\" The FreeBSD Project. All rights reserved.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\" notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\" notice, this list of conditions and the following disclaimer in the
-.\" documentation and/or other materials provided with the distribution.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY EXPRESS OR
-.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
-.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-.\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT,
-.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
-.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
-.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-.\"
-.\" $FreeBSD$
-.\"
-.Dd January 9, 1997
-.Dt LINUX 8
-.Os FreeBSD
-.Sh NAME
-.Nm linux
-.Nd load the Linux image activator module
-.Sh SYNOPSIS
-.Nm linux
-.Sh DESCRIPTION
-The
-.Nm
-utility loads the Linux image activator module.
-.Sh FILES
-.Bl -tag -width /modules/linux.ko
-.It Pa /modules/linux.ko
-Linux image activator loadable kernel module.
-.Sh SEE ALSO
-.Xr kld 4 ,
-.Xr kldload 8 ,
-.Xr kldstat 8 ,
-.Xr kldunload 8
diff --git a/sys/modules/linux/linux.sh b/sys/modules/linux/linux.sh
deleted file mode 100644
index a9215cf0be71..000000000000
--- a/sys/modules/linux/linux.sh
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/bin/sh
-
-# $FreeBSD$
-
-FOUND=`kldstat -v | egrep 'linux(aout|elf)'`
-
-exitcode=0
-
-if [ "x$FOUND" != x ] ; then
- echo Linux driver already loaded
- exitcode=1
-else
- kldload linux
- exitcode=$?
-fi
-
-if [ -f /compat/linux/sbin/ldconfig ] ; then
- /compat/linux/sbin/ldconfig
-fi
-
-exit $exitcode