Follow-up to eec32e2: Support for removing TTYs at runtime

In commit eec32e2 support for reloading TTY configurations was added.
This patch is a follow-up to that with support for cleaning up and
removing allocated TTYs.

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2017-07-09 15:05:32 +02:00
1 parent 44f69bd575
commit 8aef1e76c3
4 files changed
+99 -6

No files matched your search

+1
View File
@@ -196,6 +196,7 @@ restart:
sm->in_teardown = 1;
cond_reload();
service_step_all(SVC_TYPE_SERVICE | SVC_TYPE_INETD);
tty_reload();
sm->state = SM_RELOAD_WAIT_STATE;
break;