1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-12 09:58:36 +00:00

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.
This commit is contained in:
Sheldon Hearn 2000-11-29 10:40:53 +00:00
parent 38478faf72
commit 1f46e6239c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=69349
4 changed files with 1 additions and 76 deletions

View File

@ -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>

View File

@ -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

View File

@ -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

View File

@ -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