Skip to content

Commit

Permalink
Update a comment and also reuse the get_url script in signage mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
scelfo authored Nov 28, 2023
1 parent 0c6e988 commit 14827b8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit 14827b8

Please sign in to comment.