summaryrefslogtreecommitdiffstats
path: root/rescue
diff options
context:
space:
mode:
Diffstat (limited to 'rescue')
-rwxr-xr-xrescue/restore-image.sh1
1 files changed, 0 insertions, 1 deletions
diff --git a/rescue/restore-image.sh b/rescue/restore-image.sh
index 32eec242d..f4f904f3f 100755
--- a/rescue/restore-image.sh
+++ b/rescue/restore-image.sh
@@ -389,7 +389,6 @@ EOF
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"