adding more output for shutdown. as per 6102
authorMatt O'Gorman <mogorman@digium.com>
Fri, 13 Jan 2006 06:49:23 +0000 (06:49 +0000)
committerMatt O'Gorman <mogorman@digium.com>
Fri, 13 Jan 2006 06:49:23 +0000 (06:49 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8050 65c4cc65-6c06-0410-ace0-fbb531ad65f3

asterisk.c

index 7a5649b..a238bae 100644 (file)
@@ -1096,6 +1096,7 @@ static int handle_shutdown_when_convenient(int fd, int argc, char *argv[])
 {
        if (argc != 3)
                return RESULT_SHOWUSAGE;
+       ast_cli(fd, "Waiting for inactivity to perform halt\n");
        quit_handler(0, 2 /* really nicely */, 1 /* safely */, 0 /* don't restart */);
        return RESULT_SUCCESS;
 }
@@ -1120,6 +1121,7 @@ static int handle_restart_when_convenient(int fd, int argc, char *argv[])
 {
        if (argc != 3)
                return RESULT_SHOWUSAGE;
+       ast_cli(fd, "Waiting for inactivity to perform restart\n");
        quit_handler(0, 2 /* really nicely */, 1 /* safely */, 1 /* restart */);
        return RESULT_SUCCESS;
 }