projects
/
setroute.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
2561298e80bb40a89911e5ba00c2860b4f6a91dd
[setroute.git]
/
setup.sh
1
#!/bin/sh
2
vpn_set=`grep vpn /etc/iproute2/rt_tables | wc -l`
3
if [ $vpn_set = 0 ]; then
4
echo "60 vpn" >> /etc/iproute2/rt_tables
5
fi
6
apt-get -y install ipset
7
cp -r usr/local/bin/* /usr/local/bin
8
cp -r etc/* /etc