diff options
author | Lassulus <lassulus@googlemail.com> | 2012-12-21 22:19:03 +0100 |
---|---|---|
committer | Lassulus <lassulus@googlemail.com> | 2012-12-21 22:19:03 +0100 |
commit | 668526a3082e9d67a62193cc8577da4940cc1dfe (patch) | |
tree | 69ea082c498765cf0e138492a6456bd4436e91d9 /retiolum | |
parent | 19f1a122881503ca1266191496b639db3924a2de (diff) |
fixed OS detections
Diffstat (limited to 'retiolum')
-rwxr-xr-x | retiolum/scripts/tinc_setup/new_install.sh | 2 |
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 |