Subversion Repositories f9daq

Compare Revisions

Ignore whitespace Rev 11 → Rev 10

/pcivme-3.2/driver/pcivme_load
19,9 → 19,6
# 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
 
33,7 → 30,6
 
chgrp $group /dev/${device}$1
chmod $mode /dev/${device}$1
ls -latr /dev/${device}$1
else
echo "usage: pcivme_load module_number"
fi