summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2002-10-14 09:44:31 +0000
committerFrancois Pons <fpons@mandriva.com>2002-10-14 09:44:31 +0000
commitf9af3135d2a26c64028b52d13a9c1b431f21e91b (patch)
tree0bb1980995f42845d39e126c04a901b8b653ee84
parentfcf04b54434c7d4e433759a654479bdc77edef09 (diff)
downloaddrakx-backup-do-not-use-f9af3135d2a26c64028b52d13a9c1b431f21e91b.tar
drakx-backup-do-not-use-f9af3135d2a26c64028b52d13a9c1b431f21e91b.tar.gz
drakx-backup-do-not-use-f9af3135d2a26c64028b52d13a9c1b431f21e91b.tar.bz2
drakx-backup-do-not-use-f9af3135d2a26c64028b52d13a9c1b431f21e91b.tar.xz
drakx-backup-do-not-use-f9af3135d2a26c64028b52d13a9c1b431f21e91b.zip
remove initrd images before umounting and exiting.
-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";