Browse Source

Check that tor gets installed

Bob Mottram 9 years ago
parent
commit
f2157d3e06
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      src/freedombone

+ 4
- 0
src/freedombone View File

3699
         return
3699
         return
3700
     fi
3700
     fi
3701
     apt-get -y install tor
3701
     apt-get -y install tor
3702
+    if [ ! -f /etc/tor/torrc ]; then
3703
+        echo 'Tor failed to install'
3704
+        exit 38259
3705
+    fi
3702
     echo 'install_tor' >> $COMPLETION_FILE
3706
     echo 'install_tor' >> $COMPLETION_FILE
3703
 }
3707
 }
3704
 
3708