From 9b426dabffa85f2abd6570ad1a0ee20354a5f1d7 Mon Sep 17 00:00:00 2001 From: Kroese Date: Sun, 26 May 2024 19:46:32 +0200 Subject: [PATCH] Update define.sh --- src/define.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/define.sh b/src/define.sh index f705065..9c1f7df 100644 --- a/src/define.sh +++ b/src/define.sh @@ -1927,6 +1927,24 @@ prepareLegacy() { return 1 } +prepare98() { + + local iso="$1" + local dir="$2" + local file="$dir/boot.img" + + ETFS=$(basename "$file") + [ -f "$file" ] && [ -s "$file" ] && return 0 + rm -f "$file" + + local src="[BOOT]/Boot-1.44M.img" + [ ! -f "$dir/$src" ] && error "Boot floppy not found!" && return 1 + + cp "$dir/$src" "$file" && return 0 + + return 1 +} + prepareXP() { local dir="$2"