Initial commit
This commit is contained in:
commit
d3c6e29902
202 changed files with 3909 additions and 0 deletions
12
mopping
Executable file
12
mopping
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
#/bin/sh
|
||||
|
||||
HOST="uchusphere.dyndns.org"
|
||||
COUNT="2"
|
||||
SLEEP="2"
|
||||
|
||||
while [ true ]; do
|
||||
MESSAGE="$HOST online"
|
||||
ping -c $COUNT $HOST >/dev/null 2>&1 || MESSAGE="$HOST offline"
|
||||
echo $MESSAGE '(' `date +%H:%M` ')'
|
||||
sleep $SLEEP
|
||||
done
|
||||
Loading…
Add table
Add a link
Reference in a new issue