expoweb/handbook/computing/netbookfakenet/fakenet2022/keepaliveharder

10 lines
133 B
Bash

#!/bin/sh
# Runs from cron
if ( ping -c 1 -w 5 -q wookware.org ); then
#working
:
else
#rerun login
/root/fakenet/runfakenet
fi