Исправлен установочный скрипт.
[setroute.git] / setup.sh
index ec5ec67ddf719e6204247ec84834e58d1e9ec754..8b435160fe2d800002030f1d2c4c32424b3b7a7a 100644 (file)
--- a/setup.sh
+++ b/setup.sh
@@ -1,8 +1,8 @@
 #!/bin/sh
 vpn_set=`grep vpn /etc/iproute2/rt_tables | wc -l`
-if [ vpn_set = 0 ]; then
+if [ $vpn_set = 0 ]; then
   echo "60   vpn" >> /etc/iproute2/rt_tables
 fi  
-apt-get -y install ipset
+apt-get -y install ipset python-dnspython
 cp -r usr/local/bin/* /usr/local/bin
 cp -r etc/* /etc
\ No newline at end of file