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:
parent
6bd849c7a8
commit
abe1cf4d99
1 changed files with 3 additions and 0 deletions
|
@ -1,5 +1,8 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Deletes cookies
|
||||||
|
rm ~/.surf/cookies.txt
|
||||||
|
|
||||||
# Grabs the port (and IP) out of the nginx config
|
# Grabs the port (and IP) out of the nginx config
|
||||||
LISTEN=$(awk '/listen/{gsub(";",""); print $2}' /etc/nginx/listen.conf)
|
LISTEN=$(awk '/listen/{gsub(";",""); print $2}' /etc/nginx/listen.conf)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue