mirror of
https://github.com/dockur/windows.git
synced 2025-10-27 03:15:49 +00:00
fix: Init variables
This commit is contained in:
parent
6566d249fc
commit
307d468460
1 changed files with 3 additions and 9 deletions
12
src/entry.sh
12
src/entry.sh
|
|
@ -1,11 +1,9 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -Eeuo pipefail
|
set -Eeuo pipefail
|
||||||
|
|
||||||
echo "❯ Starting Windows for Docker v$(</run/version)..."
|
APP="Windows"
|
||||||
echo "❯ For support visit https://github.com/dockur/windows"
|
|
||||||
echo
|
|
||||||
|
|
||||||
export BOOT_MODE=windows
|
export BOOT_MODE=windows
|
||||||
|
SUPPORT="https://github.com/dockur/windows"
|
||||||
|
|
||||||
cd /run
|
cd /run
|
||||||
|
|
||||||
|
|
@ -20,11 +18,7 @@ cd /run
|
||||||
|
|
||||||
trap - ERR
|
trap - ERR
|
||||||
|
|
||||||
if [[ "${DISPLAY,,}" == "web" ]]; then
|
info "Booting $APP using $VERS..."
|
||||||
nginx -e stderr
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo && info "Booting Windows using $VERS..."
|
|
||||||
|
|
||||||
[[ "$DEBUG" == [Yy1]* ]] && set -x
|
[[ "$DEBUG" == [Yy1]* ]] && set -x
|
||||||
exec qemu-system-x86_64 ${ARGS:+ $ARGS}
|
exec qemu-system-x86_64 ${ARGS:+ $ARGS}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue