summaryrefslogtreecommitdiff
path: root/etc/init.d
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2004-02-17 19:31:33 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:32:28 -0700
commit8fff7b42b45ef13946f7bc25308016d3dfdc63df (patch)
tree76de7fbb387697721577409917237facd1a41f8e /etc/init.d
parentf01f8c667793ef10baac489cf845ba273fd023db (diff)
[PATCH] start up udevd ourselves in the init script to give it some good priorities.
Diffstat (limited to 'etc/init.d')
-rw-r--r--etc/init.d/udev6
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/init.d/udev b/etc/init.d/udev
index 3f1430271b..cd9074de09 100644
--- a/etc/init.d/udev
+++ b/etc/init.d/udev
@@ -12,6 +12,7 @@
prog=udev
sysfs_dir=/sys
bin=/sbin/udev
+udevd=/sbin/udevd
udev_root=/udev
run_udev () {
@@ -89,6 +90,11 @@ case "$1" in
echo -n $"Creating initial udev device nodes:"
run_udev
make_extra_nodes
+
+ # We want to start udevd ourselves if it isn't already running. This
+ # lets udevd run at a sane nice level...
+ $udevd &
+
success /bin/true
echo
touch /var/lock/subsys/udev