139 |
# calc module dependencies |
# calc module dependencies |
140 |
mecho "Calculating module dependencies ..." |
mecho "Calculating module dependencies ..." |
141 |
depmod -a ${KERNEL_VERSION} |
depmod -a ${KERNEL_VERSION} |
142 |
|
fi |
143 |
|
|
144 |
# re-read udev rules to grant the right permissions |
# re-read udev rules to grant the right permissions |
145 |
if [[ -x $(which udevadm) ]] |
if [[ -x $(type -P udevadm) ]] |
146 |
then |
then |
147 |
mecho "Reloading udev configuration ..." |
mecho "Reloading udev configuration ..." |
148 |
udevadm control --reload-rules |
udevadm control --reload-rules |
|
fi |
|
149 |
fi |
fi |
150 |
|
|
151 |
# load the module |
# load the module |