Package: busybox / 1:1.17.1-8

init-console.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
--- a/init/init.c
+++ b/init/init.c
@@ -441,6 +441,8 @@
 	for (a = init_action_list; a; a = a->next) {
 		if (!(a->action_type & action_type))
 			continue;
+		if (a->terminal[0] && access(a->terminal, R_OK | W_OK))
+			continue;
 
 		if (a->action_type & (SYSINIT | WAIT | ONCE | CTRLALTDEL | SHUTDOWN)) {
 			pid_t pid = run(a);