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 [ -f /var/lock/subsys/noip ]; then
27 msg_already_running noip
31 if [ ! -s /etc/noip.conf ]; then
32 echo "You should first run $0 config to prepare configuration";
37 daemon /usr/sbin/noip $OPTIONS
39 [ $RETVAL -eq 0 ] && touch /var/lock/subsys/noip
43 if [ ! -f /var/lock/subsys/noip ]; then
50 rm -f /var/lock/subsys/noip > /dev/null 2>&1
70 msg_usage "$0 {start|stop|restart|config|status}"