Skip to content

Commit

Permalink
Add Debian 10 check
Browse files Browse the repository at this point in the history
- Check for missing /dev/ppp and "cloud" versions of Debian 10 kernels
  See: https://git.io/vpndebian10
  • Loading branch information
hwdsl2 committed Nov 17, 2020
1 parent 4c082b3 commit 611a5e3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions run.sh
Expand Up @@ -45,6 +45,11 @@ EOF
fi
ip link delete dummy0 >/dev/null 2>&1

if uname -r | grep -q cloud && [ ! -e /dev/ppp ]; then
echo >&2
echo "Error: /dev/ppp is missing. Debian 10 users, see: https://git.io/vpndebian10" >&2
fi

mkdir -p /opt/src
vpn_env="/opt/src/vpn.env"
vpn_gen_env="/opt/src/vpn-gen.env"
Expand Down

0 comments on commit 611a5e3

Please sign in to comment.