projects
/
openwrt
/
svn-archive
/
archive.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
fix path to config and binary
[openwrt/svn-archive/archive.git]
/
net
/
updatedd
/
files
/
ddns.hotplug
1
NAME=updatedd
2
CONFIG=/etc/config/$NAME
3
COMMAND=/usr/bin/$NAME
4
5
[ "$ACTION" = "ifup" -a "$INTERFACE" = "wan" ] && {
6
[ -x $COMMAND ] && [ -r $CONFIG ] && {
7
include /lib/network
8
scan_interfaces
9
10
config_get ifname wan ifname
11
[ -n "$ifname" ] && {
12
/etc/init.d/ddns restart
13
}
14
} &
15
}