Refactor
This commit is contained in:
parent
f252414a02
commit
810dd169af
1 changed files with 7 additions and 1 deletions
8
run.sh
8
run.sh
|
@ -3,7 +3,13 @@ set -eu
|
||||||
|
|
||||||
echo "Starting QEMU..."
|
echo "Starting QEMU..."
|
||||||
|
|
||||||
. /run/install.sh
|
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/disk.sh
|
||||||
. /run/network.sh
|
. /run/network.sh
|
||||||
. /run/power.sh
|
. /run/power.sh
|
||||||
|
|
Loading…
Reference in a new issue