diff options
author | Lassulus <lassulus@googlemail.com> | 2012-12-12 03:57:03 +0100 |
---|---|---|
committer | Lassulus <lassulus@googlemail.com> | 2012-12-12 03:57:03 +0100 |
commit | dcac6e109c6b8ec56c5106d11dad052b9ce34aca (patch) | |
tree | aaf2fd6611dcb17e5fdc99c15f21b5ab31503d61 /retiolum | |
parent | 5d253ae8e4b712c95ff2b7c33457dad263928de0 (diff) |
fixed find_os not executing
Diffstat (limited to 'retiolum')
-rwxr-xr-x | retiolum/scripts/tinc_setup/new_install.sh | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/retiolum/scripts/tinc_setup/new_install.sh b/retiolum/scripts/tinc_setup/new_install.sh index aea97e90..1f750fca 100755 --- a/retiolum/scripts/tinc_setup/new_install.sh +++ b/retiolum/scripts/tinc_setup/new_install.sh @@ -228,6 +228,12 @@ do esac done +#check for OS +if [ $OS -eq 0 ]; then + echo $OS + find_os +fi + #check if everything is installed if [ $OS -eq 2 ]; then if ! test -e /data/data/org.poirsouille.tinc_gui/files/tincd; then @@ -294,11 +300,6 @@ done #check for free hostname get_hostname $HOSTN -#check for OS -if [ $OS -eq 0 ]; then - echo $OS - find_os -fi #create the configs mkdir -p /etc/tinc/$NETNAME |