0004-init.d-agetty-start-agetty-after-all-sevices.patch 828 B

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