From abe1cf4d992fd946cf000a12bbadbae373d9fda5 Mon Sep 17 00:00:00 2001 From: Logan Gartner Date: Thu, 3 Sep 2020 16:53:47 -0600 Subject: [PATCH] Surf now deletes cookies on startup This is so that it logs in everytime the Pi starts up, which prevents the annoying issue where when you change the autologin user it doesn't take effect for like 2 days --- stage3/02-kiosk/files/.browser.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stage3/02-kiosk/files/.browser.sh b/stage3/02-kiosk/files/.browser.sh index 186720b..bce2d29 100644 --- a/stage3/02-kiosk/files/.browser.sh +++ b/stage3/02-kiosk/files/.browser.sh @@ -1,5 +1,8 @@ #!/usr/bin/env bash +# Deletes cookies +rm ~/.surf/cookies.txt + # Grabs the port (and IP) out of the nginx config LISTEN=$(awk '/listen/{gsub(";",""); print $2}' /etc/nginx/listen.conf)