3 # nopi Start/Stop the no-ip.com client.
5 # chkconfig: 2345 15 89
7 # description: When configured correctly, the client will check your IP \
8 # address at a given time interval checking to see if your IP \
9 # has changed. If your IP address has changed it will notify \
10 # No-IP DNS servers and update the IP corresponding to your \
11 # No-IP/No-IP+ hostname.
15 # pidfile: /var/run/noip.pid # don't know if it's true
17 # Source function library
18 . /etc/rc.d/init.d/functions
20 # Source noip configuration.
21 if [ -f /etc/sysconfig/noip ]; then
26 if [ ! -s /etc/noip.conf ]; then
27 echo "You should first run $0 config to prepare configuration";
30 if [ ! -f /var/lock/subsys/noip ]; then
34 [ $RETVAL -eq 0 ] && touch /var/lock/subsys/noip
36 msg_already_runing noip
41 if [ -f /var/lock/subsys/noip ]; then
44 rm -f /var/lock/subsys/noip > /dev/null 2>&1
67 msg_usage "$0 {start|stop|restart|config|status}"