(file) Return to fusdd-redhat CVS log (file) Jump to this file's LXR Page (dir) Up to [CENS] / emstar / fusd / initscripts

File: [CENS] / emstar / fusd / initscripts / fusdd-redhat (download)
Revision: 1.3, Mon Feb 14 07:17:21 2005 UTC (4 years, 9 months ago) by girod
Branch: MAIN
CVS Tags: rdd_alpha_version_1, pregeonet, mote, acoustic-05-18-06, PRE_TOSNIC_FIX, PRE_64BIT, MOTENIC_PRE_BUGFIX_20050415, LAURA_CALIBRATION_EXPERIMENTS, HEAD, ESS_RELEASE_3_5, ESS_RELEASE_3_4, ESS_RELEASE_3_3, ESS_RELEASE_3_2, ESS_RELEASE_3_1, ESS_RELEASE_3_0, ESS_RELEASE_2_0, ESS_CONNECTIVITY, ESS_CENTROUTE_TESTING, ESS2-CMS-V1_5_pretest, ESS2-CMS-V1_4cMergeSympathy_2, ESS2-CMS-V1_4c, ESS2-CMS-V1_4b, ESS2-CMS-V1_4a, ESS2-CMS-V1_3, ESS2-CMS-V1_2, ESS2-CMS-V1_1, ESS2-CMS-V1_0, EMSTAR_RELEASE_2_5, EMSTAR_RELEASE_2_1_BRANCH, EMSTAR_RELEASE_2_1, CYCLOPS_RELEASE_CANDIDATE_2_0, CYCLOPS_PRERELEASE_STABLE, CENTROUTE_EMSTAR_SOCKETS, BG_1_0, BANGLADESH_ARSENIC_1_2, BANGLADESH_ARSENIC_1_1, AMARSS_JR_DEPLOYMENT_6_05_07
Changes since 1.2: +2 -2 lines
updates to the makefile, make.conf, and the install docs

#! /bin/sh
# chkconfig: 2345 100 100
# description: fusdd init file for fusdd
#
# $Id: fusdd-redhat,v 1.3 2005/02/14 07:17:21 girod Exp $
#

# report_unsupported () {
#     echo "Currently the fusdd package has no init script for"
#     echo "the $1 Linux distribution."
#     exit 1
# }

# change the following to your particular path
FUSDD_PATH=/usr/sbin

# Red Hat
if [ -f /etc/redhat-release ] ; then

# Source function library
. /etc/rc.d/init.d/functions

    case "$1" in
	start)
	    echo -n "Starting fusdd: "
	    /sbin/insmod kfusd &> /dev/null # load the kfusd kernel driver
	    daemon $FUSDD_PATH/fusdd 
	    touch /var/lock/subsys/fusdd
	    echo
	    ;;
	stop)
	    echo -n "Shutting down fusdd: "
	    killproc fusdd
	    /sbin/rmmod kfusd
	    rm -f /var/lock/subsys/fusdd
	    echo
	    ;;
	restart)
	    $0 stop
	    $0 start
	    ;;
	status)
	    status fusdd
	    ;;
	*)
	    echo "Usage: fusdd {start|stop|restart|status}"
	    exit 1
    esac
    
    exit 0

fi

CENS CVS Mailing List
Powered by
ViewCVS 0.9.2