#!/bin/sh
# Retrospect Client rcl script 
# 
# Contact Information 
# 
# Retrospect, Inc.
# Pleasanton, CA 
# http://www.retrospect.com
# 
# (C) 2014 Retrospect, Inc. Portions (C) 1989-2011 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/retrospect/client
case $1 in
    start)
    $CLIENTDIR/retroclient &
    ;;
    stop)
    $CLIENTDIR/retrocpl -stop
    ;;
    status)
    $CLIENTDIR/retrocpl
    ;;
    *)
    echo "Usage: $0 {start|stop|status}"
    ;;
esac
exit 0
