diff options
author | Francois Pons <fpons@mandriva.com> | 2002-10-14 09:44:31 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2002-10-14 09:44:31 +0000 |
commit | f9af3135d2a26c64028b52d13a9c1b431f21e91b (patch) | |
tree | 0bb1980995f42845d39e126c04a901b8b653ee84 /rescue/tree | |
parent | fcf04b54434c7d4e433759a654479bdc77edef09 (diff) | |
download | drakx-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.
Diffstat (limited to 'rescue/tree')
-rwxr-xr-x | rescue/tree/etc/oem | 3 |
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"; |