freebsd-nq/sys/modules/linux/linux.sh

13 lines
227 B
Bash
Raw Normal View History

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