--- /dev/null
+#!/bin/sh
+
+# save as /etc/network/if-up.d/tdyndns
+
+# man 5 interfaces:
+# IFACE physical name of the interface being processed
+# LOGICAL logical name of the interface being processed
+# ADDRFAM address family of the interface
+# METHOD method of the interface (e.g., static)
+# MODE start if run from ifup, stop if run from ifdown
+# PHASE as per MODE, but with finer granularity, distinguishing the pre-up, post-up, pre-down and post-down phases.
+# VERBOSITY indicates whether --verbose was used; set to 1 if so, 0 if not.
+# PATH the command search path: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+
+set -e
+
+[ -n "$IFACE" ]
+[ -n "$MODE" ]
+[ "$MODE" = "start" ] || exit 0
+[ -x /usr/local/bin/tdyndns ] || exit 0
+
+case "$IFACE" in
+ eth*|ath*|wlan*|ppp*|wwan*)
+ [ "$VERBOSITY" = "1" ] && echo "Interface $IFACE started, calling tdyndns."
+ /usr/local/bin/tdyndns &
+ ;;
+ *)
+ ;;
+esac
+
+exit 0