freebsd-skq/sys/modules/linux/linux.sh
1999-08-28 01:08:13 +00:00

13 lines
227 B
Bash

#!/bin/sh
# $FreeBSD$
FOUND=`kldstat -v | egrep 'linux(aout|elf)'`
if [ "x$FOUND" != x ] ; then
echo Linux driver already loaded
exit 1
else
kldload linux
fi