summaryrefslogtreecommitdiffstats
path: root/rescue/tree/etc/oem
diff options
context:
space:
mode:
Diffstat (limited to 'rescue/tree/etc/oem')
-rwxr-xr-xrescue/tree/etc/oem3
1 files changed, 3 insertions, 0 deletions
diff --git a/rescue/tree/etc/oem b/rescue/tree/etc/oem
index f6eef0722..1bb35aa12 100755
--- a/rescue/tree/etc/oem
+++ b/rescue/tree/etc/oem
@@ -605,6 +605,9 @@ if (-e "/cdrom/Mandrake/base/oem-message-graphic") {
}
}
+#- clean all initrd image which may have been built.
+system "rm -f /mnt/boot/initrd*";
+
system "umount", "/mnt/proc";
$home and system "umount", "/mnt/home";
$var and system "umount", "/mnt/var";