Преглед изворни кода

busybox: remove obsolete init patch

Signed-off-by: Felix Fietkau <[email protected]>

SVN-Revision: 40848
Felix Fietkau пре 11 година
родитељ
комит
c1187357dc
1 измењених фајлова са 0 додато и 15 уклоњено
  1. 0 15
      package/utils/busybox/patches/001-init_avoid_loop_opening_tty.patch

+ 0 - 15
package/utils/busybox/patches/001-init_avoid_loop_opening_tty.patch

@@ -1,15 +0,0 @@
---- a/init/init.c
-+++ b/init/init.c
-@@ -573,8 +573,11 @@ static void run_actions(int action_type)
- 			/* Only run stuff with pid == 0. If pid != 0,
- 			 * it is already running
- 			 */
--			if (a->pid == 0)
-+			if (a->pid == 0) {
-+				if (a->terminal[0] && access(a->terminal, R_OK | W_OK))
-+					continue;
- 				a->pid = run(a);
-+			}
- 		}
- 	}
- }