File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ MODULEVERSION=$(echo $MAGICVERSION | cut -d " " -f 2)
77KERNELVERSION=$( uname -r)
88if [ " $MODULEVERSION " == " $KERNELVERSION " ]
99then
10- echo " Kernel and Module Versions Match"
10+ echo " Kernel and Module Versions Match; Installing ... "
1111else
1212 echo " The Kernel version does not match the Module Version"
1313 echo " Kernel Version: " $KERNELVERSION
2525 echo " $ sudo modprobe -f cdc-acm"
2626fi
2727# Install the cdc-acm module
28- sudo cp -v cdc-acm.ko /lib/modules/$( uname -r) /kernel/drivers/usb/class
28+ INSTALLDIRECTORY=/lib/modules/$( uname -r) /kernel/drivers/usb/class
29+ echo $INSTALLDIRECTORY
30+ sudo mkdir -p " $INSTALLDIRECTORY "
31+ sudo cp -v cdc-acm.ko $INSTALLDIRECTORY
2932sudo depmod -a
3033echo " Installed cdc-acm Module"
3134
You can’t perform that action at this time.
0 commit comments