diff options
author | Mike Gilbert <floppym@gentoo.org> | 2015-06-17 16:36:49 -0400 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2015-06-17 16:42:14 -0500 |
commit | 03c02c050df2ae3d91ec6428f024d7d4042ef077 (patch) | |
tree | 083759893b800c00f773089386e8b1257e080228 /init.d/udev | |
parent | Start work on version 31 (diff) | |
download | udev-gentoo-scripts-03c02c050df2ae3d91ec6428f024d7d4042ef077.tar.gz udev-gentoo-scripts-03c02c050df2ae3d91ec6428f024d7d4042ef077.tar.bz2 udev-gentoo-scripts-03c02c050df2ae3d91ec6428f024d7d4042ef077.zip |
udev: Remove workaround for redirecting stdio to /dev/null
systemd-udevd was fixed upstream, making this hack unnecessary.
Diffstat (limited to 'init.d/udev')
-rw-r--r-- | init.d/udev | 7 |
1 files changed, 1 insertions, 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 } |