summaryrefslogtreecommitdiffstats
path: root/rescue/restore-image.sh
diff options
context:
space:
mode:
Diffstat (limited to 'rescue/restore-image.sh')
-rwxr-xr-xrescue/restore-image.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/rescue/restore-image.sh b/rescue/restore-image.sh
index b35bb4b7e..5272b18fa 100755
--- a/rescue/restore-image.sh
+++ b/rescue/restore-image.sh
@@ -194,6 +194,7 @@ function expand_fs()
if [ -n "$MKINITRD" ]; then
mount -t sysfs none "$mnt_dir/sys"
mount -t proc none "$mnt_dir/proc"
+ echo > /proc/sys/kernel/modprobe # rescue's modprobe does not handle modprobe -q and aliases
chroot $mnt_dir bootloader-config --action rebuild-initrds
umount "$mnt_dir/sys"
umount "$mnt_dir/proc"