3 # ddclient This shell script takes care of starting and stopping
6 # chkconfig: 2345 65 35
7 # description: ddclient provides support for updating dynamic DNS services.
9 [ -f /etc
/ddclient
/ddclient.conf
] ||
exit 0
11 .
/etc
/rc.d
/init.d
/functions
13 # See how we were called.
17 echo -n "Starting ddclient: "
18 touch /var
/lock
/subsys
/ddclient
19 daemon ddclient
-daemon 300
24 echo -n "Shutting down ddclient: "
27 rm -f /var
/lock
/subsys
/ddclient
37 echo "Usage: ddclient {start|stop|restart|status}"