mirror of https://github.com/Zelo72/rpi
Update installUnbound.sh
This commit is contained in:
parent
d5cde9d4f0
commit
23b5941500
|
@ -16,6 +16,11 @@ if [ "$(id -u)" != "0" ]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
if ! (ping -c1 -w2 google.de >/dev/null) && ! (ping -c1 -w2 cloudflare.com >/dev/null); then
|
||||
echo "Keine Internetverbindung!"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "*** Unbound installieren"
|
||||
echo ""
|
||||
apt-get update
|
||||
|
|
Loading…
Reference in New Issue