diff --git a/extras/vpnupgrade.sh b/extras/vpnupgrade.sh index 4f362d6..afe3c84 100644 --- a/extras/vpnupgrade.sh +++ b/extras/vpnupgrade.sh @@ -33,10 +33,6 @@ if ! printf '%s' "$os_type" | head -n 1 | grep -qiF -e ubuntu -e debian -e raspb exit 1 fi -if [ "$(sed 's/\..*//' /etc/debian_version)" = "7" ]; then - exiterr "Debian 7 is not supported." -fi - if [ -f /proc/user_beancounters ]; then exiterr "OpenVZ VPS is not supported." fi diff --git a/vpnsetup.sh b/vpnsetup.sh index f7afaf6..5fd103a 100755 --- a/vpnsetup.sh +++ b/vpnsetup.sh @@ -60,8 +60,8 @@ if ! printf '%s' "$os_type" | head -n 1 | grep -qiF -e ubuntu -e debian -e raspb exit 1 fi -if [ "$(sed 's/\..*//' /etc/debian_version)" = "7" ]; then - exiterr "Debian 7 is not supported." +if [ "$(sed 's/\..*//' /etc/debian_version)" = "10" ] && [ ! -e /dev/ppp ]; then + exiterr "/dev/ppp is missing. Debian 10 users, see: https://git.io/vpndebian10" fi if [ -f /proc/user_beancounters ]; then