mirror of git://git.sysmocom.de/ofono
main: Print message when starting to shutdown
This commit is contained in:
parent
a5be01c0c8
commit
e85b17118a
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue