added FreeDOS

This commit is contained in:
technik
2023-04-13 02:11:42 +00:00
parent 960e8af0b6
commit 94dc9a91c9
2 changed files with 37 additions and 9 deletions

View File

@@ -3,6 +3,21 @@
. ./settings.sh
WGET="-nv -nc"
Z7="-aos"
echo "--- FreeDOS -- ---------------------------------------------------------------------"
echo "------------------------------------------------------------------------------------"
CZURL="https://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/1.3/official/FD13-LiveCD.zip"
FILENAME=fdfullcd.zip
if ! [ -e ./temp/$FILENAME ]; then
echo "Downloading FreeDOS..."
wget $WGET -O ./temp/$FILENAME $CZURL
fi
if [ -e ./temp/$FILENAME ]; then
echo "Preparing FreeDOS..."
7z x $Z7 -o${TFTP}/free ./temp/${FILENAME}
fi
echo "--- Clonezilla ---------------------------------------------------------------------"
echo "------------------------------------------------------------------------------------"
@@ -12,10 +27,11 @@ FILENAME=clonezilla-64bit.iso
if ! [ -e ./temp/$FILENAME ]; then
echo "Downloading Clonezilla..."
wget $WGET -O ./temp/$FILENAME $CZURL
elif [ -e ./temp/$FILENAME ]; then
fi
if [ -e ./temp/$FILENAME ]; then
echo "Preparing Clonezilla..."
mkdir -p ${TFTP}/free/cz
7z x -o${TFTP}/free/cz ./temp/${FILENAME}
7z x $Z7 -o${TFTP}/free/cz ./temp/${FILENAME}
fi
echo "--- Rescuezilla --------------------------------------------------------------------"
@@ -26,10 +42,11 @@ FILENAME=rescuezilla-64bit.iso
if ! [ -e ./temp/$FILENAME ]; then
echo "Downloading Rescuezilla..."
wget $WGET -O ./temp/$FILENAME $RZURL
elif [ -e ./temp/$FILENAME ]; then
fi
if [ -e ./temp/$FILENAME ]; then
echo "Preparing Rescuezilla..."
mkdir -p ${TFTP}/free/rz
7z x -o${TFTP}/free/rz ./temp/${FILENAME}
7z x $Z7 -o${TFTP}/free/rz ./temp/${FILENAME}
fi
echo "--- Knoppix V9.1 ------------------------------------------------------------------"
@@ -40,10 +57,11 @@ FILENAME=KNOPPIX_V9.1DVD.iso
if ! [ -e ./temp/$FILENAME ]; then
echo "Downloading Knoppix..."
wget $WGET -O ./temp/$FILENAME $KNX9URL
elif [ -e ./temp/$FILENAME ]; then
fi
if [ -e ./temp/$FILENAME ]; then
echo "Preparing Knoppix..."
mkdir -p ${TFTP}/free/knx
7z x -o${TFTP}/free/knx ./temp/${FILENAME}
7z x $Z7 -o${TFTP}/free/knx ./temp/${FILENAME}
cp ./resources/knx-miniroot.gz ${TFTP}/free/knx/boot/isolinux/miniroot.gz
fi
@@ -61,7 +79,8 @@ do
if ! [ -e ./temp/${FILENAME} ]; then
echo "Downloading Debian installer ${DIST}/${ARCH}..."
wget $WGET -O ./temp/${FILENAME} $DEBURL
else
fi
if [ -e ./temp/${FILENAME} ]; then
echo "Create directory in ${TFTP}/free/deb-${DIST}..."
mkdir -p ${TFTP}/free/deb-${DIST}
echo "Unpacking files..."