diff options
-rwxr-xr-x | ImmaeEu-up | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |
32 | fi | 32 | fi |
33 | (cd "$SCRIPT_DIR" && git pull -q origin master) || true | 33 | TARBALL=$(curl -s https://vpn.immae.eu/hosts.tar.gz | base64 -w0) |
34 | if 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 | ||
37 | fi | ||