dotfiles

<-- duh.
Log | Files | Refs | LICENSE

commit 3e10c118074aa695f5f2a48a55f594b9b5b4bbd9
parent 97e98b630051c50d6cfe4b2b89f7c7e0c5a448be
Author: hhvn <dev@haydenvh.com>
Date:   Sat, 27 Mar 2021 19:39:45 +0000

.s/b/uptimemon: change domain

Diffstat:
M.scripts/bin/uptimemon | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.scripts/bin/uptimemon b/.scripts/bin/uptimemon @@ -2,7 +2,7 @@ # # uptimemon.sh - monitor and record uptime (records) # -# hayden@haydenvh.com +# hayden@hhvn.uk # Copyright (c) 2020 Hayden Hamilton # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR @@ -19,7 +19,7 @@ d=$HOME/net/exec/uptime -for s in matrix local irc1 irc2 dumbterm.haydenvh.com phony.haydenvh.com port.haydenvh.com mx1.haydenvh.com +for s in matrix.hhvn.uk hhvn.uk irc1 irc2 dumbterm.hhvn.uk phony.hhvn.uk port.hhvn.uk mx1.hhvn.uk do curr=$(ssh $s uptime | grep 'days' | awk '{print $3}' | grep '^[^:]*$' || echo 0) ssh $s uptime >/dev/null && down=n || down=y # run the cmd again - variable can't be set