Skip to content

Instantly share code, notes, and snippets.

View thomasschaeferm's full-sized avatar

Thomas Schäfer thomasschaeferm

View GitHub Profile
<plist version="1.0">
<dict>
<key>ConsentText</key>
<dict>
<key>default</key>
<string>Installs APN web.vodafone.de IPv4v6</string>
</dict>
<key>PayloadContent</key>
<array>
<dict>
@thomasschaeferm
thomasschaeferm / dynv6.sh
Last active February 4, 2021 16:55 — forked from corny/dynv6.sh
Update script for dynv6.com to set IPv6 prefix (address)
#!/bin/sh -e
hostname=$1
device=$2
file=$HOME/.dynv6.addr6
[ -e $file ] && old=`cat $file`
if [ -z "$hostname" -o -z "$token" ]; then
echo "Usage: token=<your-authentication-token> [netmask=64] $0 your-name.dynv6.net [device]"
exit 1
fi