From 2d24e4c75dd062632ab7648ed6d04dcea99a13eb Mon Sep 17 00:00:00 2001 From: newton Date: Mon, 22 Feb 1999 11:44:46 +0000 Subject: Converted "streams" pseudo-device into a KLD --- sys/modules/svr4/svr4.sh | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'sys/modules/svr4') diff --git a/sys/modules/svr4/svr4.sh b/sys/modules/svr4/svr4.sh index 1d8e694..6acf668 100644 --- a/sys/modules/svr4/svr4.sh +++ b/sys/modules/svr4/svr4.sh @@ -1,12 +1,18 @@ #!/bin/sh -# $Id$ +# $Id: svr4.sh,v 1.1 1999/01/30 06:29:48 newton Exp $ -FOUND=`kldstat -v | egrep 'svr4elf'` +STREAMS=`kldstat -v | egrep 'streams'` +SVR4=`kldstat -v | egrep 'svr4elf'` -if [ "x$FOUND" != x ] ; then +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 -- cgit v1.1