mirror of
https://github.com/samba-team/samba.git
synced 2025-03-29 02:50:28 +03:00
Event scripts: functions file now intercepts status and setstatus.
Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit a1f37fdc5217e57d2d643d77a811afca747685e0)
This commit is contained in:
parent
3bc643b46b
commit
ad431c3520
@ -607,3 +607,14 @@ service_fail_limit=1
|
||||
|
||||
ctdb_event="$1" ; shift
|
||||
cmd="$ctdb_event"
|
||||
|
||||
case "$ctdb_event" in
|
||||
status)
|
||||
ctdb_checkstatus
|
||||
exit
|
||||
;;
|
||||
setstatus)
|
||||
ctdb_setstatus "$@"
|
||||
exit
|
||||
;;
|
||||
esac
|
||||
|
Loading…
x
Reference in New Issue
Block a user