This commit is contained in:
Kroese 2023-04-14 17:45:43 +02:00 committed by GitHub
parent 76be4f69de
commit f252414a02

View file

@ -1,11 +1,8 @@
#!/usr/bin/env bash
set -eu
IMG="/storage"
[ ! -d "$IMG" ] && echo "Storage folder (${IMG}) not found!" && exit 69
FILE="$IMG/boot.img"
[ -f "$FILE" ] && return
rm -f "$FILE"
echo "Downloading $BOOT..."