2.0.0 work

This commit is contained in:
2026-03-03 14:31:05 -05:00
parent dc231502eb
commit 93af24430a
4 changed files with 76 additions and 30 deletions

View File

@@ -19,7 +19,7 @@ else
# Use workstation args
chromargs="--test-type --ignore-certificate-errors --start-fullscreen --no-first-run --check-for-update-interval=1 --simulate-upgrade --incognito"
fi
if ! chromium $chromargs $url
if ! chromium $chromargs $url >/dev/null 2>&1
then
kiosk_cleanup.sh
xmessage -buttons "Ok:1" -center "Failed to retrieve web page."

View File

@@ -15,7 +15,7 @@ source $conf_file
if echo "$url" | grep -q '^file:'
then
filepath=$(echo "$server_url"|cut -d"/" -f2-)
xpdf -fullscreen -cont -z width $filepath
xpdf -fullscreen -cont -z width $filepath >/dev/null 2>&1
else
if ! wget -q -O /dev/shm/target.pdf $url
then
@@ -23,7 +23,7 @@ else
xmessage -buttons "Ok:1" -center "Failed to retrieve pdf file."
exit 1
else
xpdf -fullscreen -cont -z width /dev/shm/target.pdf
xpdf -fullscreen -cont -z width /dev/shm/target.pdf >/dev/null 2>&1
fi
fi

View File

@@ -183,7 +183,7 @@ debuglog "Monitoring for URL and config file changes..."
debuglog "Reading config file"
source $conf_file
if ! pgrep $ALIVE_STRING
if ! pgrep $ALIVE_STRING >/dev/null 2>&1
then
# relaunch application if it terminates
if $krestart