main: Print message when starting to shutdown

This commit is contained in:
Marcel Holtmann 2011-07-29 14:12:18 +02:00
parent a5be01c0c8
commit e85b17118a
1 changed files with 1 additions and 0 deletions

View File

@ -75,6 +75,7 @@ static gboolean signal_handler(GIOChannel *channel, GIOCondition cond,
case SIGINT:
case SIGTERM:
if (__terminated == 0) {
ofono_info("Terminating");
g_timeout_add_seconds(SHUTDOWN_GRACE_SECONDS,
quit_eventloop, NULL);
__ofono_modem_shutdown();