1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-09 08:58:35 +03:00
Andrew Tridgell b5890ad2c1 split out events for each subsystem separately
(This used to be ctdb commit 03c629a72f234dcc783fa1085e7edba09597c241)
2007-06-01 20:54:26 +10:00

36 lines
466 B
Bash
Executable File

#!/bin/sh
# event script for 'make test'
cmd="$1"
shift
case $cmd in
startup)
echo "`date` ctdb startup event"
exit 0;
;;
takeip)
echo "`date` ctdb takeip event for $1 $2 $3"
exit 0
;;
releaseip)
echo "`date` ctdb releaseip event for $1 $2 $3"
exit 0
;;
recovered)
echo "`date` ctdb recovered event"
exit 0
;;
shutdown)
echo "`date` ctdb shutdown event"
exit 0
;;
esac
echo "`/bin/date` Invalid command $cmd"
exit 1