git://git.onelab.eu
/
plcapi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
start/stop omf-slicemgr properly
[plcapi.git]
/
plc.d
/
omf-slicemgr
diff --git
a/plc.d/omf-slicemgr
b/plc.d/omf-slicemgr
index
cf1aecd
..
8f4435b
100755
(executable)
--- 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