1 #!/bin/sh /etc/rc.common
2 # Copyright (C) 2007-2012 OpenWrt.org
7 .
/lib
/functions
/network.sh
9 [ -f /etc
/ndyndns
/ndyndns.conf
] ||
{
10 echo "$0: missing config file '/etc/ndyndns/ndyndns.conf'" 1>&2
15 network_get_device device wan
&& \
16 service_start
/usr
/sbin
/ndyndns
-c /etc
/ndyndns
-f /etc
/ndyndns
/ndyndns.conf
-i $device
20 service_stop
/usr
/sbin
/ndyndns