3 .
/usr
/lib
/ddns
/dynamic_dns_functions.sh
6 config_get wan_proto
"wan" "proto"
8 #only start if we're bringing up wan and ppp isn't being used
9 #if ppp, it's better to use the /etc/ppp/ip-up.d because ip
10 #changes will trigger this directory to be run while only
11 #an interface going up or down will trigger this
12 if [ "$INTERFACE" = "wan" ] && [ "$ACTION" = "ifup" ] && [ "$wan_proto" != 'pppoe' ]
14 start_daemon_for_all_ddns_sections