Signed-off-by: digimer <mkelly@alteeve.ca>main
parent
88af919142
commit
cc71df686b
3 changed files with 12 additions and 1 deletions
@ -0,0 +1,10 @@ |
||||
#!/bin/sh -e |
||||
|
||||
( |
||||
if [ "$1" != "constraint" ]; then |
||||
pcs $@ |
||||
exit $? |
||||
fi |
||||
flock -e 200 |
||||
pcs $@ |
||||
) 200>/tmp/pcs.lock |
Loading…
Reference in new issue