summaryrefslogtreecommitdiffstats
path: root/sys/modules/svr4
diff options
context:
space:
mode:
authorsheldonh <sheldonh@FreeBSD.org>2000-11-29 10:40:53 +0000
committersheldonh <sheldonh@FreeBSD.org>2000-11-29 10:40:53 +0000
commita5b7c6517a86d9d9a377993a41f4eb36def7dd17 (patch)
treeafa1fcf0f141bb79d6f9425b2a56638628b82bff /sys/modules/svr4
parent420483cf07a824e98312e4c8bfc99c6da7bdca01 (diff)
downloadFreeBSD-src-a5b7c6517a86d9d9a377993a41f4eb36def7dd17.zip
FreeBSD-src-a5b7c6517a86d9d9a377993a41f4eb36def7dd17.tar.gz
Decommission the svr4(8) shell script, which has been pointless since
our kernel module system learned how to handle dependencies. Providing a whole bunch of shell scripts that do nothing but load a similarly named kernel loadable module is out of vogue. The svr4(8) manual page has been replaced with a much better svr4(4) page.
Diffstat (limited to 'sys/modules/svr4')
-rw-r--r--sys/modules/svr4/Makefile6
-rw-r--r--sys/modules/svr4/README2
-rw-r--r--sys/modules/svr4/svr4.851
-rw-r--r--sys/modules/svr4/svr4.sh18
4 files changed, 1 insertions, 76 deletions
diff --git a/sys/modules/svr4/Makefile b/sys/modules/svr4/Makefile
index b74f5c4..65cd6ae 100644
--- a/sys/modules/svr4/Makefile
+++ b/sys/modules/svr4/Makefile
@@ -38,10 +38,4 @@ opt_svr4.h:
echo "#define DEBUG_SVR4 1" >> opt_svr4.h
.endif
-.if exists(${DESTDIR}/usr/bin)
-afterinstall:
- ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
- ${.CURDIR}/svr4.sh ${DESTDIR}/usr/sbin/svr4
-.endif
-
.include <bsd.kmod.mk>
diff --git a/sys/modules/svr4/README b/sys/modules/svr4/README
index 0578721..bbf0ea2 100644
--- a/sys/modules/svr4/README
+++ b/sys/modules/svr4/README
@@ -10,7 +10,7 @@ To use it:
2. Build and install the svr4 module in /sys/modules/svr4
-3. Type "svr4" to start it up.
+3. Type "kldload svr4" to start it up.
4. Grab compat_sol26.tar.gz or compat_svr4.tar.gz from
http://www.freebsd.org/~newton/freebsd-svr4 and install them in
diff --git a/sys/modules/svr4/svr4.8 b/sys/modules/svr4/svr4.8
deleted file mode 100644
index 7b52dd2..0000000
--- a/sys/modules/svr4/svr4.8
+++ /dev/null
@@ -1,51 +0,0 @@
-.\"
-.\" Copyright (c) 2000, Alexey Zelkin
-.\" 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,
-.\" without modification, immediately at the beginning of the file.
-.\" 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.
-.\" 3. The name of the author may not be used to endorse or promote products
-.\" derived from this software without specific prior written permission.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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 10, 2000
-.Dt SVR4 8
-.Os FreeBSD
-.Sh NAME
-.Nm svr4
-.Nd load the SystemV emulator module
-.Sh SYNOPSIS
-.Nm
-.Sh DESCRIPTION
-The
-.Nm
-utility loads the SystemV emulator module.
-.Sh FILES
-.Bl -tag -width /modules/svr4.ko
-.It Pa /modules/svr4.ko
-SystemV emulator loadable kernel module.
-.Sh SEE ALSO
-.Xr kld 4 ,
-.Xr kldload 8 ,
-.Xr kldstat 8 ,
-.Xr kldunload 8
diff --git a/sys/modules/svr4/svr4.sh b/sys/modules/svr4/svr4.sh
deleted file mode 100644
index 4cb7677..0000000
--- a/sys/modules/svr4/svr4.sh
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/sh
-
-# $FreeBSD$
-
-STREAMS=`kldstat -v | egrep 'streams'`
-SVR4=`kldstat -v | egrep 'svr4elf'`
-
-if [ "x$SVR4" != x ] ; then
- echo SysVR4 driver already loaded
- exit 1
-else
- if [ "x$STREAMS" = x ] ; then
- kldload streams
- echo "Loaded SysVR4 STREAMS driver"
- fi
- kldload svr4
- echo "Loaded SysVR4 emulator"
-fi
OpenPOWER on IntegriCloud