Update on-pi-startup.sh to remove expired Chromium sessions.

This commit is contained in:
Jarno Rantanen 2016-04-01 00:45:17 +03:00
parent c660152396
commit 768012b69f

View File

@ -9,5 +9,11 @@ if [ -f .config/chromium/Default/Preferences ]; then
mv .config/chromium/Default/Preferences{-clean,}
fi
# Remove notes of previous sessions, if any
find .config/chromium/ -name "Last *" | xargs rm
# http://peter.sh/experiments/chromium-command-line-switches/
chromium-browser --start-fullscreen
# If you need to run Chromium manually for whatever reason:
# $ DISPLAY=:0.0 chromium-browser &