3 @@ -576,6 +576,8 @@ static void run_actions(int action_type)
4 for (a = init_action_list; a; a = a->next) {
5 if (!(a->action_type & action_type))
7 + if (a->terminal[0] && access(a->terminal, R_OK | W_OK))
10 if (a->action_type & (SYSINIT | WAIT | ONCE | CTRLALTDEL | SHUTDOWN)) {