Commit 810dd169 authored by Kroese's avatar Kroese Committed by GitHub
Browse files

Refactor

parent f252414a
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -3,7 +3,13 @@ set -eu

echo "Starting QEMU..."

IMG="/storage"
[ ! -d "$IMG" ] && echo "Storage folder (${IMG}) not found!" && exit 69

if [ -f "$IMG/boot.img" ]; then
  . /run/install.sh
fi

. /run/disk.sh
. /run/network.sh
. /run/power.sh