3 # save as /etc/network/if-up.d/tdyndns
6 # IFACE physical name of the interface being processed
7 # LOGICAL logical name of the interface being processed
8 # ADDRFAM address family of the interface
9 # METHOD method of the interface (e.g., static)
10 # MODE start if run from ifup, stop if run from ifdown
11 # PHASE as per MODE, but with finer granularity, distinguishing the pre-up, post-up, pre-down and post-down phases.
12 # VERBOSITY indicates whether --verbose was used; set to 1 if so, 0 if not.
13 # PATH the command search path: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
19 [ "$MODE" = "start" ] || exit 0
20 [ -x /usr/local/bin/tdyndns ] || exit 0
23 eth*|ath*|wlan*|ppp*|wwan*)
24 [ "$VERBOSITY" = "1" ] && echo "Interface $IFACE started, calling tdyndns."
25 /usr/local/bin/tdyndns &