tChange ip check - exercise_time - announce workout exercises with notification… | |
git clone git://src.adamsgaard.dk/exercise_time | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit ffe55fd0726787ac90371852875018429068994f | |
parent ad7f3cebea9b231c47711a0113377ed2b98ce492 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Sun, 10 Mar 2019 21:54:50 +0100 | |
Change ip check | |
Diffstat: | |
M exercise_time.sh | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/exercise_time.sh b/exercise_time.sh | |
t@@ -43,7 +43,7 @@ UNAMESTR="$(uname)" | |
if [[ "$UNAMESTR" == 'Darwin' ]]; then | |
IP=$(/sbin/ifconfig | grep 10.9.62) # Sayre Hall | |
else | |
- IP=$(ip addr | grep 192.168.40) | |
+ IP=$(ip addr | grep 192.168.0) | |
fi | |
for ((i=0; i<$1; i++)); do |