From 14827b8bbfc908a1552e3d1b4ac1538aa3cde67e Mon Sep 17 00:00:00 2001 From: Tony Scelfo Date: Tue, 28 Nov 2023 16:33:10 -0700 Subject: [PATCH] Update a comment and also reuse the get_url script in signage mode. --- .../filesystem/home/pi/scripts/start_chromium_browser | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/fullpageos/filesystem/home/pi/scripts/start_chromium_browser b/src/modules/fullpageos/filesystem/home/pi/scripts/start_chromium_browser index d7905ca..be0f683 100755 --- a/src/modules/fullpageos/filesystem/home/pi/scripts/start_chromium_browser +++ b/src/modules/fullpageos/filesystem/home/pi/scripts/start_chromium_browser @@ -13,13 +13,13 @@ flags=( --autoplay-policy=no-user-gesture-required ) -# Standard behavior - runs chrome +# Standard behavior - runs chromium chromium-browser "${flags[@]}" --app=$(/home/pi/scripts/get_url) exit; # Remove the two lines above to enable signage mode - refresh the browser whenever errors are seen in log -chromium-browser --enable-logging --log-level=2 --v=0 "${flags[@]}" --app=$(head -n 1 /boot/fullpageos.txt | sed -e "s/{serial}/${SERIAL}/g") & +chromium-browser --enable-logging --log-level=2 --v=0 "${flags[@]}" --app=$(/home/pi/scripts/get_url) & export logfile="/home/pi/.config/chromium/chrome_debug.log"