mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-02-24 21:40:01 +08:00
Allow source
This commit is contained in:
parent
476c16a176
commit
59de0141dc
@ -14,7 +14,7 @@ BASE=$(basename "$URL" .pat)
|
|||||||
[ ! -f "/run/server.sh" ] && echo "Script must run inside Docker container!" && exit 60
|
[ ! -f "/run/server.sh" ] && echo "Script must run inside Docker container!" && exit 60
|
||||||
|
|
||||||
[ ! -f "$IMG/$BASE.boot.img" ] && rm -f "$IMG"/"$BASE".system.img
|
[ ! -f "$IMG/$BASE.boot.img" ] && rm -f "$IMG"/"$BASE".system.img
|
||||||
[ -f "$IMG/$BASE.system.img" ] && exit 0
|
[ -f "$IMG/$BASE.system.img" ] && return
|
||||||
|
|
||||||
# Display wait message on port 5000
|
# Display wait message on port 5000
|
||||||
/run/server.sh 5000 > /dev/null &
|
/run/server.sh 5000 > /dev/null &
|
||||||
@ -156,5 +156,3 @@ mv -f "$BOOT" "$IMG"/"$BASE".boot.img
|
|||||||
mv -f "$SYSTEM" "$IMG"/"$BASE".system.img
|
mv -f "$SYSTEM" "$IMG"/"$BASE".system.img
|
||||||
|
|
||||||
rm -rf $TMP
|
rm -rf $TMP
|
||||||
|
|
||||||
exit 0
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user