|
|
@ -54,7 +54,7 @@ installkernel() { |
|
|
|
# as we could e.g. be in the installer; nokmsboot boot parameter will disable |
|
|
|
# as we could e.g. be in the installer; nokmsboot boot parameter will disable |
|
|
|
# loading of the driver if needed |
|
|
|
# loading of the driver if needed |
|
|
|
if [[ $hostonly ]] && modinfo -F alias $_modname | sed -e 's,\?,\.,g' -e 's,\*,\.\*,g' \ |
|
|
|
if [[ $hostonly ]] && modinfo -F alias $_modname | sed -e 's,\?,\.,g' -e 's,\*,\.\*,g' \ |
|
|
|
| grep -qxf - /sys/bus/pci/devices/*/modalias; then |
|
|
|
| grep -qxf - /sys/bus/pci/devices/*/modalias 2>/dev/null; then |
|
|
|
hostonly='' instmods $_modname |
|
|
|
hostonly='' instmods $_modname |
|
|
|
continue |
|
|
|
continue |
|
|
|
fi |
|
|
|
fi |
|
|
|