187a2c552c
Signed off by: Conrad Hirano <placebo3@fastmail.us> git-svn-id: svn://svn.openwrt.org/openwrt/packages@10615 3c298f89-4303-0410-b956-a3cf2f4a3e73
19 lines
309 B
Bash
19 lines
309 B
Bash
#!/bin/sh /etc/rc.common
|
|
# Copyright (C) 2007 OpenWrt.org
|
|
|
|
START=80
|
|
DEFAULT=/etc/default/ndyndns
|
|
|
|
start() {
|
|
[ -f $DEFAULT ] && . $DEFAULT
|
|
|
|
. /etc/functions.sh
|
|
include /lib/network
|
|
scan_interfaces
|
|
/usr/sbin/ndyndns -c $CHROOT -f $CONFIG -i $(config_get wan ifname) $OPTIONS
|
|
}
|
|
|
|
stop() {
|
|
killall ndyndns
|
|
}
|