summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xImmaeEu-up6
1 files changed, 5 insertions, 1 deletions
diff --git a/ImmaeEu-up b/ImmaeEu-up
index 072bce1..db3cfd8 100755
--- a/ImmaeEu-up
+++ b/ImmaeEu-up
@@ -30,4 +30,8 @@ if false; then
30 # Allow accessing the external world from the ip 30 # Allow accessing the external world from the ip
31 ip -6 route add default via $GWIP dev $INTERFACE table 655 31 ip -6 route add default via $GWIP dev $INTERFACE table 655
32fi 32fi
33(cd "$SCRIPT_DIR" && git pull -q origin master) || true 33TARBALL=$(curl -s https://vpn.immae.eu/hosts.tar.gz | base64 -w0)
34if echo "$TARBALL" | base64 -d | tar -tz >/dev/null; then
35 rm -f $SCRIPT_DIR/* || true
36 echo "$TARBALL" | base64 -d | tar -C "$SCRIPT_DIR" -xz --strip-components=1
37fi