Skip to content

Instantly share code, notes, and snippets.

@hpop
Created June 11, 2018 11:37
Show Gist options
  • Save hpop/e6ab47d94d61f40d393ff9021e226eab to your computer and use it in GitHub Desktop.
Save hpop/e6ab47d94d61f40d393ff9021e226eab to your computer and use it in GitHub Desktop.
#!/bin/bash
# If Chrome crashes (usually due to rebooting), clear the crash flag so we don't have the annoying warning bar
sed -i 's/"exited_cleanly":false/"exited_cleanly":true/' /home/pi/.config/chromium/Default/Preferences
sed -i 's/"exit_type":"Crashed"/"exit_type":"Normal"/' /home/pi/.config/chromium/Default/Preferences
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment