summaryrefslogtreecommitdiff
path: root/config.sh
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2021-03-22 21:12:24 +0300
committerEvgeny Zinoviev <me@ch1p.io>2021-03-22 21:12:24 +0300
commit9d1232228b9b63f6b20389ac0a481d0eb25713b8 (patch)
treebadd06b54aa71f77ada76e1daff9ef0a0a6d8c49 /config.sh
parent8f90106ba1f1dcb23086f8c7a31e46143e615f77 (diff)
move MODEM_IP variable to a separate file
Diffstat (limited to 'config.sh')
-rwxr-xr-xconfig.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/config.sh b/config.sh
new file mode 100755
index 0000000..fba78b7
--- /dev/null
+++ b/config.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
+[ -z "$MODEM_IP" ] && MODEM_IP="192.168.9.1" \ No newline at end of file