Improve Debian 7 workaround
This commit is contained in:
parent
81a731eb5d
commit
018309a328
@ -66,9 +66,9 @@ echo "Your existing VPN configuration files will NOT be modified."
|
||||
|
||||
if [ "$(sed 's/\..*//' /etc/debian_version)" = "7" ]; then
|
||||
echo
|
||||
echo "IMPORTANT: Workaround required for Debian 7 (Wheezy)."
|
||||
echo "See: https://gist.github.com/hwdsl2/5a769b2c4436cdf02a90"
|
||||
echo "Continue only after you have completed the workaround."
|
||||
echo 'IMPORTANT: Workaround required for Debian 7 (Wheezy).'
|
||||
echo 'First, run the script at: https://git.io/vpndebian7'
|
||||
echo 'Continue only after completing this workaround.'
|
||||
fi
|
||||
|
||||
echo
|
||||
|
10
vpnsetup.sh
10
vpnsetup.sh
@ -76,6 +76,16 @@ apt-get -y update
|
||||
apt-get -y install wget dnsutils
|
||||
apt-get -y install iproute gawk grep sed net-tools
|
||||
|
||||
if [ "$(sed 's/\..*//' /etc/debian_version)" = "7" ]; then
|
||||
echo
|
||||
echo 'IMPORTANT: Workaround required for Debian 7 (Wheezy).'
|
||||
echo 'First, run the script at: https://git.io/vpndebian7'
|
||||
echo 'If not already done so, press Ctrl-C to interrupt.'
|
||||
echo
|
||||
echo 'Pausing for 30 seconds ...'
|
||||
sleep 30
|
||||
fi
|
||||
|
||||
echo
|
||||
echo 'Trying to find Public/Private IP of this server...'
|
||||
echo
|
||||
|
Loading…
x
Reference in New Issue
Block a user