#!/bin/sh
# Retrospect Client rcl script 
# 
# Contact Information 
# 
# Sonic Solutions
# Pleasanton, CA 94566
# http://www.retrospect.com/supportupdates
# 
# (C) 2010 Sonic Solutions. Portions (C) 1989-2010 EMC Corporation. All rights reserved.
#
# 
# Place this script along with retroclient, and 
# retrocpl in the directory specified by CLIENTDIR.

### BEGIN INIT INFO
# Provides: retroclient
# Required-Start: $local_fs $syslog
# Should-Start:
# Required-Stop:
# Default-Start: 3 4 5
# Default-Stop: 0 1 2 6
# Short-Description: Retrospect Client
# Description: Retrospect Client
### END INIT INFO

CLIENTDIR=/usr/local/dantz/client
case $1 in
    start)
    $CLIENTDIR/retroclient -daemon
    ;;
    stop)
    $CLIENTDIR/retrocpl -stop
    ;;
    status)
    $CLIENTDIR/retrocpl
    ;;
    *)
    echo "Usage: $0 {start|stop|status}"
    ;;
esac
exit 0
