Lines 2-9
Link Here
|
2 |
# Copyright 1999-2013 Gentoo Foundation |
2 |
# Copyright 1999-2013 Gentoo Foundation |
3 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# Distributed under the terms of the GNU General Public License v2 |
4 |
|
4 |
|
5 |
command_args="${udev_opts}" |
5 |
command_args="--daemon ${udev_opts}" |
6 |
start_stop_daemon_args="--background" |
|
|
7 |
description="udev manages device permissions and symbolic links in /dev" |
6 |
description="udev manages device permissions and symbolic links in /dev" |
8 |
extra_started_commands="reload" |
7 |
extra_started_commands="reload" |
9 |
description_reload="Reload the udev rules and databases" |
8 |
description_reload="Reload the udev rules and databases" |
Lines 61-70
start_pre()
Link Here
|
61 |
echo "" >/proc/sys/kernel/hotplug |
60 |
echo "" >/proc/sys/kernel/hotplug |
62 |
fi |
61 |
fi |
63 |
|
62 |
|
|
|
63 |
local stderr=/dev/null |
64 |
|
64 |
if yesno "${udev_debug:-NO}"; then |
65 |
if yesno "${udev_debug:-NO}"; then |
65 |
command_args="${command_args} --debug 2> /run/udevdebug.log" |
66 |
command_args="${command_args} --debug" |
|
|
67 |
stderr=/run/udevdebug.log |
66 |
fi |
68 |
fi |
67 |
|
69 |
|
|
|
70 |
command_args="${command_args} < /dev/null > /dev/null 2> ${stderr}" |
71 |
|
68 |
return 0 |
72 |
return 0 |
69 |
} |
73 |
} |
70 |
|
74 |
|
71 |
- |
|
|