From 668526a3082e9d67a62193cc8577da4940cc1dfe Mon Sep 17 00:00:00 2001 From: Lassulus Date: Fri, 21 Dec 2012 22:19:03 +0100 Subject: fixed OS detections --- retiolum/scripts/tinc_setup/new_install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'retiolum/scripts/tinc_setup') 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 -- cgit v1.2.3