X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa%2Finit.d%2Fsfa;h=bbfa39612ffa5849676011fa1b823af019f34c6b;hb=ae17f5340af09279591c75fcd1cff5e6d093bdd9;hp=da583a8a8be3c137fadd49849406b59703758f62;hpb=64f524a5d7a3ffd54fcae5fe62d5ae6ac02aafae;p=sfa.git diff --git a/sfa/init.d/sfa b/sfa/init.d/sfa index da583a8a..bbfa3961 100755 --- a/sfa/init.d/sfa +++ b/sfa/init.d/sfa @@ -1,10 +1,10 @@ #!/bin/bash # -# geniwrapper Wraps PLCAPI into the GENI compliant API +# sfa Wraps PLCAPI into the SFA compliant API # # chkconfig: 2345 5 99 # -# description: Wraps PLCAPI into the GENI compliant API +# description: Wraps PLCAPI into the SFA compliant API # # $Id$ # $URL$ @@ -18,7 +18,7 @@ start() { - echo -n $"Starting GENIWrapper: " + echo -n $"Starting SFA: " if [ "$GENI_REGISTRY_ENABLED" ]; then echo "Registry" @@ -37,17 +37,17 @@ start() { RETVAL=$? echo - [ $RETVAL -eq 0 ] && touch /var/lock/subsys/geniwrapper + [ $RETVAL -eq 0 ] && touch /var/lock/subsys/sfa } stop() { - echo -n $"Shutting down GENIWrapper: " + echo -n $"Shutting down SFA: " killproc sfa-server.py RETVAL=$? echo - [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/geniwrapper + [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/sfa } @@ -64,13 +64,13 @@ case "$1" in start ;; condrestart) - if [ -f /var/lock/subsys/geniwrapper ]; then + if [ -f /var/lock/subsys/sfa ]; then stop start fi ;; status) - status geniwrapper + status sfa RETVAL=$? ;; *)