summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'init.d/udev')
-rw-r--r--init.d/udev7
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
}