nbd 280ffdb0f2 remove reference to nvram.sh
git-svn-id: svn://svn.openwrt.org/openwrt/packages@5152 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-16 04:32:07 +00:00

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
}