Add 'shutdown' cli command
authorHannes Reinecke <hare@suse.de>
Tue, 28 Apr 2009 09:11:23 +0000 (11:11 +0200)
committerHannes Reinecke <hare@suse.de>
Wed, 18 May 2011 09:02:17 +0000 (11:02 +0200)
commit3b4bc7d987e2ba4ab725a0bd24276306a5143ba3
tree10ce1e7aefabf88ad06ede15a2ebb039dcb5482d
parent13520b8a0c99d1a82e17a8b9d3d37123246140ee
Add 'shutdown' cli command

Rather than sending a signal to the process (which might get caught
by any thread, possibly blocking it) we can as well implement a
'shutdown' cli command, making sure the daemon will be terminated.

Signed-off-by: Hannes Reinecke <hare@suse.de>
multipathd/cli.c
multipathd/cli.h
multipathd/cli_handlers.c
multipathd/cli_handlers.h
multipathd/main.c
multipathd/main.h