Update on-pi-startup.sh to remove expired Chromium sessions.
This commit is contained in:
parent
c660152396
commit
768012b69f
@ -9,5 +9,11 @@ if [ -f .config/chromium/Default/Preferences ]; then
|
|||||||
mv .config/chromium/Default/Preferences{-clean,}
|
mv .config/chromium/Default/Preferences{-clean,}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Remove notes of previous sessions, if any
|
||||||
|
find .config/chromium/ -name "Last *" | xargs rm
|
||||||
|
|
||||||
# http://peter.sh/experiments/chromium-command-line-switches/
|
# http://peter.sh/experiments/chromium-command-line-switches/
|
||||||
chromium-browser --start-fullscreen
|
chromium-browser --start-fullscreen
|
||||||
|
|
||||||
|
# If you need to run Chromium manually for whatever reason:
|
||||||
|
# $ DISPLAY=:0.0 chromium-browser &
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user