projects
/
setroute.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Исправлен установочный скрипт.
[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 python-dnspython
7
cp -r usr/local/bin/* /usr/local/bin
8
cp -r etc/* /etc