web feature

This commit is contained in:
randogoth 2025-10-26 22:21:50 +02:00
parent 091f4d53e9
commit 11cceb4c30
3 changed files with 53 additions and 22 deletions

View file

@ -113,8 +113,15 @@ start_http_console() {
if [ -n "${DOS_HTTP_LOG_LEVEL:-}" ]; then
args+=(--log-level "${DOS_HTTP_LOG_LEVEL}")
fi
if [ -n "${DOS_HTTP_FONT_PATH:-}" ]; then
args+=(--font-path "${DOS_HTTP_FONT_PATH}")
if [ -n "${DOS_HTTP_CRT:-}" ]; then
case "${DOS_HTTP_CRT,,}" in
0|false|no|off)
args+=(--no-crt)
;;
1|true|yes|on)
args+=(--crt)
;;
esac
fi
set +e