Setup script added
[setroute.git] / setup.sh
diff --git a/setup.sh b/setup.sh
new file mode 100644 (file)
index 0000000..ec5ec67
--- /dev/null
+++ b/setup.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+vpn_set=`grep vpn /etc/iproute2/rt_tables | wc -l`
+if [ vpn_set = 0 ]; then
+  echo "60   vpn" >> /etc/iproute2/rt_tables
+fi  
+apt-get -y install ipset
+cp -r usr/local/bin/* /usr/local/bin
+cp -r etc/* /etc
\ No newline at end of file