deleting
authorTony Mack <tmack@cs.princeton.edu>
Sun, 21 Feb 2010 15:34:30 +0000 (15:34 +0000)
committerTony Mack <tmack@cs.princeton.edu>
Sun, 21 Feb 2010 15:34:30 +0000 (15:34 +0000)
sfa/init.d/sfa_cm [deleted file]

diff --git a/sfa/init.d/sfa_cm b/sfa/init.d/sfa_cm
deleted file mode 100755 (executable)
index 5fb94b3..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
-#!/bin/bash
-#
-# sfa   Wraps PLCAPI into the SFA compliant API
-#
-# chkconfig: 2345 5 99
-#
-# description:   Wraps PLCAPI into the SFA compliant API
-#
-# $Id: sfa 14304 2009-07-06 20:19:51Z thierry $
-# $URL: https://svn.planet-lab.org/svn/sfa/trunk/sfa/init.d/sfa $
-#
-
-# Source config
-. /etc/sfa/sfa_config
-
-# source function library
-. /etc/init.d/functions
-
-
-start() {
-        echo -n $"Starting SFA:  "
-
-        if [ "$SFA_CM_ENABLED" ]; then
-            echo "Component Mgr"
-            /usr/bin/sfa-server.py -c -d $OPTIONS
-        fi
-
-        RETVAL=$?
-        echo
-        [ $RETVAL -eq 0 ] && touch /var/lock/subsys/sfa
-
-}
-
-stop() {
-    echo -n $"Shutting down SFA: "
-    killproc sfa-server.py
-    RETVAL=$?
-
-    echo
-    [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/sfa
-}
-
-
-
-case "$1" in
-  start)
-    start
-    ;;
-  stop)
-    stop
-    ;;
-  restart|reload)
-    stop
-    start
-    ;;
-  condrestart)
-    if [ -f /var/lock/subsys/sfa ]; then
-        stop
-        start
-    fi
-    ;;
-  status)
-    status sfa
-    RETVAL=$?
-    ;;
-  *)
-    echo $"Usage: $0 {start|stop|restart|condrestart|status}"
-    exit 1
-esac
-
-exit $RETVAL
-