ddns.hotplug (323B)
1 #!/bin/sh 2 3 # there are other ACTIONs like ifupdate we don't need 4 case "$ACTION" in 5 ifup) # OpenWrt is giving a network not phys. Interface 6 /etc/init.d/ddns enabled && /usr/lib/ddns/dynamic_dns_updater.sh -n "$INTERFACE" -- start 7 ;; 8 ifdown) 9 /usr/lib/ddns/dynamic_dns_updater.sh -n "$INTERFACE" -- stop 10 ;; 11 esac