summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/scripts/21image.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/scripts/21image.sh b/src/scripts/21image.sh
index 36ca014..d44d4f3 100644
--- a/src/scripts/21image.sh
+++ b/src/scripts/21image.sh
@@ -215,6 +215,9 @@ Syslinux ()
Linuximage ()
{
+ # Removing initrd backup files
+ rm -f "${LIVE_CHROOT}"/boot/initrd*bak*
+
case "${1}" in
iso)
# Copy linux-image