diff options
Diffstat (limited to '')
-rw-r--r-- | liveinit.tpl | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/liveinit.tpl b/liveinit.tpl index a1c0aed..3ac0782 100644 --- a/liveinit.tpl +++ b/liveinit.tpl @@ -308,14 +308,6 @@ if [ ! -d /lib/modules/$(uname -r) ]; then elif [ -x ./load_kernel_modules ]; then # use load_kernel_modules script: echo "${MARKER}: Loading kernel modules from initrd image:" . ./load_kernel_modules 1>/dev/null 2>/dev/null -else # load modules (if any) in order: - if ls /lib/modules/$(uname -r)/*.*o 1> /dev/null 2> /dev/null ; then - echo "${MARKER}: Loading kernel modules from initrd image:" - for module in /lib/modules/$(uname -r)/*.*o ; do - /sbin/modprobe $module 1>/dev/null 2>/dev/null - done - unset module - fi fi # Sometimes the devices need extra time to be available. |