Boot image
This commit is contained in:
parent
14857b6dfe
commit
25c936dc48
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ KERNEL=$(uname -r | cut -b 1)
|
||||||
[ ! -d "$STORAGE" ] && echo "Storage folder (${STORAGE}) not found!" && exit 69
|
[ ! -d "$STORAGE" ] && echo "Storage folder (${STORAGE}) not found!" && exit 69
|
||||||
[ ! -f "/run/run.sh" ] && echo "Script must run inside Docker container!" && exit 60
|
[ ! -f "/run/run.sh" ] && echo "Script must run inside Docker container!" && exit 60
|
||||||
|
|
||||||
if [ -f "$STORAGE/boot.img" ]; then
|
if [ ! -f "$STORAGE/boot.img" ]; then
|
||||||
. /run/install.sh
|
. /run/install.sh
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue