Subversion Repositories f9daq

Compare Revisions

Ignore whitespace Rev 9 → Rev 11

/pcivme-3.2/driver/pcivme_load
19,6 → 19,9
# the modulenumber must be given
if test $1
then
# invoke insmod
lsmod | grep $module
/sbin/rmmod $module
# invoke insmod
/sbin/insmod $module.ko || /sbin/insmod $module.o || exit 1
 
30,6 → 33,7
 
chgrp $group /dev/${device}$1
chmod $mode /dev/${device}$1
ls -latr /dev/${device}$1
else
echo "usage: pcivme_load module_number"
fi