summaryrefslogtreecommitdiffstats
path: root/sys/modules/svr4/svr4.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sys/modules/svr4/svr4.sh')
-rw-r--r--sys/modules/svr4/svr4.sh12
1 files changed, 9 insertions, 3 deletions
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
OpenPOWER on IntegriCloud