summaryrefslogtreecommitdiff
path: root/wlanWDprowl.sh
diff options
context:
space:
mode:
authorst33v <github@f3rr3t.com>2017-11-20 10:19:00 +1100
committerst33v <github@f3rr3t.com>2017-11-20 10:19:00 +1100
commitef03badceba59ad3df444f41c02251118810d422 (patch)
tree11317dcb5febf30468878e5c88cbc453b0e51c21 /wlanWDprowl.sh
parent35f98ffb379b021592ce0c2065c2e60d398f77f8 (diff)
logging always and lengthened timer to 10mins
Diffstat (limited to 'wlanWDprowl.sh')
-rwxr-xr-xwlanWDprowl.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/wlanWDprowl.sh b/wlanWDprowl.sh
index 8bc2c70..95a710d 100755
--- a/wlanWDprowl.sh
+++ b/wlanWDprowl.sh
@@ -23,7 +23,7 @@ wirelessLink=$(networkctl | awk '/wlan/ {print $2}')
wlanStatus=$(networkctl status ${wirelessLink} | awk '/State:/ {print $2}')
logline="$(date) ${wlanStatus}"
# write all to log for now. This will show if I'm still alive.
-echo ${logline}
+echo ${logline} >> ${logdir}/wlanStatus.log
if [ ${wlanStatus} != "routable" ]; then
# we have lost wireless, so log the occurrence and restart the service