Files
LDS-ImageDownloader/Installer-AlpineStable.sh
2022-06-27 19:20:21 +02:00

15 lines
636 B
Bash

#!/bin/bash
#Check if config is in current directory
if [[ ! -f Locations.conf ]];then
echo "Location config not found, Please got to the Project directory"
exit 10
fi
source Locations.conf
TargetDir="$WWWStore/Installer/Alpine/stable"
[ -d "$TargetDir" ] || mkdir -p $TargetDir
wget http://dl-4.alpinelinux.org/alpine/latest-stable/releases/x86_64/netboot/vmlinuz-lts -O $TargetDir/vmlinuz-lts
wget http://dl-4.alpinelinux.org/alpine/latest-stable/releases/x86_64/netboot/modloop-lts -O $TargetDir/modloop-lts
wget http://dl-4.alpinelinux.org/alpine/latest-stable/releases/x86_64/netboot/initramfs-lts -O $TargetDir/initramfs-lts