1 |
commit: da8cd390676a8bfb797ec399a2e9d2da7396f2c5 |
2 |
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Apr 29 15:53:39 2015 +0000 |
4 |
Commit: William Hubbs <williamh <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 30 02:06:24 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/udev-gentoo-scripts.git/commit/?id=da8cd390 |
7 |
|
8 |
Make start-stop-daemon daemonize instead of udev |
9 |
|
10 |
This is needed since udev does not close std{in,out,err} if the --daemon |
11 |
function is used, which leaves the terminal open forever. |
12 |
|
13 |
X-Gentoo-Bug: 547916 |
14 |
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=547916 |
15 |
|
16 |
init.d/udev | 3 ++- |
17 |
1 file changed, 2 insertions(+), 1 deletion(-) |
18 |
|
19 |
diff --git a/init.d/udev b/init.d/udev |
20 |
index 57fae76..e2ff830 100644 |
21 |
--- a/init.d/udev |
22 |
+++ b/init.d/udev |
23 |
@@ -2,7 +2,8 @@ |
24 |
# Copyright 1999-2013 Gentoo Foundation |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
|
27 |
-command_args="--daemon ${udev_opts}" |
28 |
+command_args="${udev_opts}" |
29 |
+start_stop_daemon_args="--background" |
30 |
description="udev manages device permissions and symbolic links in /dev" |
31 |
extra_started_commands="reload" |
32 |
description_reload="Reload the udev rules and databases" |