summaryrefslogtreecommitdiffstats
path: root/retiolum/scripts/tinc_setup/new_install.sh
diff options
context:
space:
mode:
authorLassulus <lassulus@googlemail.com>2012-12-21 22:19:03 +0100
committerLassulus <lassulus@googlemail.com>2012-12-21 22:19:03 +0100
commit668526a3082e9d67a62193cc8577da4940cc1dfe (patch)
tree69ea082c498765cf0e138492a6456bd4436e91d9 /retiolum/scripts/tinc_setup/new_install.sh
parent19f1a122881503ca1266191496b639db3924a2de (diff)
fixed OS detections
Diffstat (limited to 'retiolum/scripts/tinc_setup/new_install.sh')
-rwxr-xr-xretiolum/scripts/tinc_setup/new_install.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/retiolum/scripts/tinc_setup/new_install.sh b/retiolum/scripts/tinc_setup/new_install.sh
index adc355bd..15c4fefb 100755
--- a/retiolum/scripts/tinc_setup/new_install.sh
+++ b/retiolum/scripts/tinc_setup/new_install.sh
@@ -121,7 +121,7 @@ get_hostname()
#os autodetection
find_os()
{
- if grep -qei 'linux' /etc/*release 2>/dev/null; then
+ if grep -qe 'Linux' /etc/*release 2>/dev/null; then
OS=1
elif which getprop&>/dev/null; then
OS=2