tupdate IP - exercise_time - announce workout exercises with notifications and … | |
git clone git://src.adamsgaard.dk/exercise_time | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 13e4f1e380672e90361dc06da8ae380456da6771 | |
parent 1cfd7bce2e18e11356bdf698d6640b78171a29a9 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Wed, 23 Sep 2015 14:57:05 +0200 | |
update IP | |
Diffstat: | |
M exercise_time.sh | 4 ++-- | |
1 file changed, 2 insertions(+), 2 deletions(-) | |
--- | |
diff --git a/exercise_time.sh b/exercise_time.sh | |
t@@ -39,9 +39,9 @@ fi | |
UNAMESTR=`uname` | |
if [[ "$UNAMESTR" == 'Darwin' ]]; then | |
- IP=`/sbin/ifconfig | grep 192.168.1.2` | |
+ IP=`/sbin/ifconfig | grep 192.168.2.2` | |
else | |
- IP=`ip addr | grep 192.168.1.2` | |
+ IP=`ip addr | grep 192.168.2.2` | |
fi | |
for ((i=0; i<$1; i++)); do |