commit: 03c02c050df2ae3d91ec6428f024d7d4042ef077
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 17 20:36:49 2015 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Wed Jun 17 21:42:14 2015 +0000
URL:
https://gitweb.gentoo.org/proj/udev-gentoo-scripts.git/commit/?id=03c02c05
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
}