ddns-scripts: remove wrong comment and proto specific behavior
git-svn-id: svn://svn.openwrt.org/openwrt/packages@12415 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
b69acee9f4
commit
d591fb6cc6
@ -2,14 +2,7 @@
|
||||
|
||||
. /usr/lib/ddns/dynamic_dns_functions.sh
|
||||
|
||||
config_load "network"
|
||||
config_get wan_proto "wan" "proto"
|
||||
|
||||
#only start if we're bringing up wan and ppp isn't being used
|
||||
#if ppp, it's better to use the /etc/ppp/ip-up.d because ip
|
||||
#changes will trigger this directory to be run while only
|
||||
#an interface going up or down will trigger this
|
||||
if [ "$INTERFACE" = "wan" ] && [ "$ACTION" = "ifup" ] && [ "$wan_proto" != 'pppoe' ]
|
||||
if [ "$INTERFACE" = "wan" ] && [ "$ACTION" = "ifup" ]
|
||||
then
|
||||
start_daemon_for_all_ddns_sections
|
||||
fi
|
||||
|
@ -1,6 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
. /usr/lib/ddns/dynamic_dns_functions.sh
|
||||
|
||||
start_daemon_for_all_ddns_sections
|
||||
|
Loading…
x
Reference in New Issue
Block a user