X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=plc.d%2Fomf-slicemgr;h=8f4435ba0784e585cd4078dcc7b3c045fe78fd22;hb=52efcc368cd9d07e87bbd27e74ac85d64538835a;hp=cf1aecdd99acf3d92a5a01aebc421069693a5707;hpb=3c4cc4bcddb573941570ffa26c51d287cfe32fa3;p=plcapi.git diff --git a/plc.d/omf-slicemgr b/plc.d/omf-slicemgr index cf1aecd..8f4435b 100755 --- a/plc.d/omf-slicemgr +++ b/plc.d/omf-slicemgr @@ -27,6 +27,20 @@ case "$1" in result "$MESSAGE" ;; + + stop) + if [ "$PLC_OMF_ENABLED" != "1" ] ; then + exit 0 + fi + + MESSAGE=$"Stopping the OMF Slice Manager" + dialog "$MESSAGE" + + killproc omf-slicemgr.py + + result "$MESSAGE" + ;; + esac exit $ERRORS