summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2015-04-29 10:53:39 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2015-04-29 21:06:24 -0500
commitda8cd390676a8bfb797ec399a2e9d2da7396f2c5 (patch)
treee1e56949f117c9415ecad6e0091dbe375d84e809
parentadd provide for dev-settle (diff)
downloadudev-gentoo-scripts-da8cd390676a8bfb797ec399a2e9d2da7396f2c5.tar.gz
udev-gentoo-scripts-da8cd390676a8bfb797ec399a2e9d2da7396f2c5.tar.bz2
udev-gentoo-scripts-da8cd390676a8bfb797ec399a2e9d2da7396f2c5.zip
Make start-stop-daemon daemonize instead of udev
This is needed since udev does not close std{in,out,err} if the --daemon function is used, which leaves the terminal open forever. X-Gentoo-Bug: 547916 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=547916
-rw-r--r--init.d/udev3
1 files changed, 2 insertions, 1 deletions
diff --git a/init.d/udev b/init.d/udev
index 57fae76..e2ff830 100644
--- a/init.d/udev
+++ b/init.d/udev
@@ -2,7 +2,8 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-command_args="--daemon ${udev_opts}"
+command_args="${udev_opts}"
+start_stop_daemon_args="--background"
description="udev manages device permissions and symbolic links in /dev"
extra_started_commands="reload"
description_reload="Reload the udev rules and databases"