Storage
This commit is contained in:
parent
ce3938370c
commit
136fc16c91
1 changed files with 3 additions and 3 deletions
|
@ -3,10 +3,10 @@ set -eu
|
||||||
|
|
||||||
echo "Starting QEMU..."
|
echo "Starting QEMU..."
|
||||||
|
|
||||||
IMG="/storage"
|
STORAGE="/storage"
|
||||||
[ ! -d "$IMG" ] && echo "Storage folder (${IMG}) not found!" && exit 69
|
[ ! -d "$STORAGE" ] && echo "Storage folder (${STORAGE}) not found!" && exit 69
|
||||||
|
|
||||||
if [ -f "$IMG/boot.img" ]; then
|
if [ -f "$STORAGE/boot.img" ]; then
|
||||||
. /run/install.sh
|
. /run/install.sh
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue