Introduction
Introduction Statistics Contact Development Disclaimer Help
tUpdate IP addresses - exercise_time - announce workout exercises with notifica…
git clone git://src.adamsgaard.dk/exercise_time
Log
Files
Refs
LICENSE
---
commit 1c5435ac58e13798403399720e67b83b520276ec
parent 13e4f1e380672e90361dc06da8ae380456da6771
Author: Anders Damsgaard <[email protected]>
Date: Wed, 28 Mar 2018 15:12:20 -0400
Update IP addresses
Diffstat:
M exercise_time.sh | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/exercise_time.sh b/exercise_time.sh
t@@ -38,10 +38,11 @@ fi
# announce exercise the specified number of times
UNAMESTR=`uname`
+# Only send notification at work
if [[ "$UNAMESTR" == 'Darwin' ]]; then
- IP=`/sbin/ifconfig | grep 192.168.2.2`
+ IP=`/sbin/ifconfig | grep 10.9.62` # Sayre Hall
else
- IP=`ip addr | grep 192.168.2.2`
+ IP=`ip addr | grep 192.168.40`
fi
for ((i=0; i<$1; i++)); do
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.