This commit is contained in:
Tao Tien 2024-08-24 12:52:54 -07:00
parent 2e083df68e
commit b43fc4e99d
3 changed files with 4 additions and 282 deletions

View file

@ -70,10 +70,10 @@ alias rs = rebuild switch
alias gc = nh clean all
def check-mullvad [] {
$env.LAST_EXIT_CODE = 69
while $env.LAST_EXIT_CODE != 0 {
loop {
print "checking connection status"
http get https://am.i.mullvad.net/json
http get https://am.i.mullvad.net/json
| if $in.mullvad_exit_ip == true {break}
}
}