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
This commit is contained in:
Logan G 2020-09-03 16:53:47 -06:00
parent 6bd849c7a8
commit abe1cf4d99
Signed by: logan
GPG key ID: E328528C921E7A7A

View file

@ -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)