280ffdb0f2
git-svn-id: svn://svn.openwrt.org/openwrt/packages@5152 3c298f89-4303-0410-b956-a3cf2f4a3e73
15 lines
259 B
Bash
15 lines
259 B
Bash
#!/bin/sh /etc/rc.common
|
|
# Copyright (C) 2006 OpenWrt.org
|
|
|
|
start() {
|
|
[ -f /etc/default/ddns ] && . /etc/default/ddns
|
|
|
|
[ "$ddns_update" = 1 ] && {
|
|
/usr/bin/updatedd -Y $ddns_service -- $ddns_user:$ddns_passwd $ddns_host
|
|
}
|
|
}
|
|
|
|
stop() {
|
|
killall updatedd
|
|
}
|