1From c2dc04f6b8c6784941b896e0b17c160dd43a566f Mon Sep 17 00:00:00 2001
2From: Carlos Santos <unixmania@gmail.com>
3Date: Sun, 1 Mar 2020 11:14:37 -0300
4Subject: [PATCH] init.d/agetty: start agetty after all services
5
6This is required for Buildroot, to prevent mixing service initialization
7messages with the getty prompt on devices with a single serial console.
8
9Signed-off-by: Carlos Santos <unixmania@gmail.com>
10---
11 init.d/agetty.in | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14diff --git a/init.d/agetty.in b/init.d/agetty.in
15index e1864628..a1ad4e9f 100644
16--- a/init.d/agetty.in
17+++ b/init.d/agetty.in
18@@ -19,7 +19,7 @@ command_args_foreground="${agetty_options} ${port} ${baud} ${term_type}"
19 pidfile="/run/${RC_SVCNAME}.pid"
20
21 depend() {
22-	after local
23+	after *
24 	keyword -prefix
25 	provide getty
26 }
27--
282.18.2
29
30