From 03c02c050df2ae3d91ec6428f024d7d4042ef077 Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Wed, 17 Jun 2015 16:36:49 -0400 Subject: udev: Remove workaround for redirecting stdio to /dev/null systemd-udevd was fixed upstream, making this hack unnecessary. --- init.d/udev | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/init.d/udev b/init.d/udev index 4b1147f..f286ad8 100644 --- a/init.d/udev +++ b/init.d/udev @@ -60,15 +60,10 @@ start_pre() echo "" >/proc/sys/kernel/hotplug fi - local stderr=/dev/null - if yesno "${udev_debug:-NO}"; then - command_args="${command_args} --debug" - stderr=/run/udevdebug.log + command_args="${command_args} --debug 2> /run/udevdebug.log" fi - command_args="${command_args} < /dev/null > /dev/null 2> ${stderr}" - return 0 } -- cgit v1.2.3-65-gdbad