1
0
mirror of synced 2025-01-31 04:21:43 +03:00

Improve Debian 7 workaround

This commit is contained in:
hwdsl2 2016-05-11 17:08:17 -05:00
parent 81a731eb5d
commit 018309a328
2 changed files with 13 additions and 3 deletions

View File

@ -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

View File

@ -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