projects
/
openwrt
/
svn-archive
/
archive.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Port of the dyndns.com update client ndyndns.
[openwrt/svn-archive/archive.git]
/
net
/
ndyndns
/
files
/
ndyndns.init
1
#!/bin/sh /etc/rc.common
2
# Copyright (C) 2007 OpenWrt.org
3
4
START
=
80
5
DEFAULT
=/
etc
/
default
/
ndyndns
6
7
start
() {
8
[
-f
$DEFAULT
] &&
.
$DEFAULT
9
10
.
/
etc
/
functions.sh
11
include
/
lib
/
network
12
scan_interfaces
13
/
usr
/
sbin
/
ndyndns
-c
$CHROOT
-f
$CONFIG
-i
$
(
config_get wan ifname
)
$OPTIONS
14
}
15
16
stop
() {
17
killall ndyndns
18
}