projects
/
openwrt
/
svn-archive
/
archive.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
remove reference to nvram.sh
[openwrt/svn-archive/archive.git]
/
net
/
updatedd
/
files
/
ddns.init
1
#!/bin/sh /etc/rc.common
2
# Copyright (C) 2006 OpenWrt.org
3
4
start
() {
5
[
-f
/
etc
/
default
/
ddns
] &&
.
/
etc
/
default
/
ddns
6
7
[
"
$ddns_update
"
=
1
] && {
8
/
usr
/
bin
/
updatedd
-Y
$ddns_service
--
$ddns_user
:
$ddns_passwd $ddns_host
9
}
10
}
11
12
stop
() {
13
killall updatedd
14
}