summaryrefslogtreecommitdiff
path: root/ddclient/ddclient.rc
blob: d439267c2bc8744ffce799ca62ca66d829bc8bb7 (plain)
    1 #!/usr/bin/env sh
    2 #
    3 # /etc/rc.d/ddclient Start or stop dynamic DNS service
    4 #
    5 
    6 export COLUMNS=9999
    7 
    8 case "$1" in
    9 	start)
   10 		/usr/sbin/ddclient -syslog
   11 	;;
   12 	stop)
   13 		killall -q ddclient
   14 	;;
   15 	restart)
   16 		$0 stop
   17 		$0 start
   18 	;;
   19   *)
   20 		echo "Usage: ddclient start|stop|restart"
   21 		exit 1
   22 	;;
   23 esac
   24 
   25 exit 0
   26 
   27 #End of file

Generated by cgit