mirror of
https://github.com/AlbrechtL/openwrt-docker.git
synced 2026-10-15 08:01:26 +00:00
feat: Make bootdisk optional
This commit is contained in:
+1
-1
@@ -28,7 +28,7 @@ VERS=$(qemu-system-x86_64 --version | head -n 1 | cut -d '(' -f 1)
|
||||
|
||||
[ ! -d "$STORAGE" ] && error "Storage folder (${STORAGE}) not found!" && exit 13
|
||||
|
||||
if [ ! -f "$STORAGE/data.img" ]; then
|
||||
if [ ! -f "$STORAGE/boot.img" ]; then
|
||||
. /run/install.sh
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user