/[packages]/cauldron/udev/current/SOURCES/udev-161-env_STARTUP.patch
ViewVC logotype

Contents of /cauldron/udev/current/SOURCES/udev-161-env_STARTUP.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5364 - (show annotations) (download)
Mon Jan 10 13:47:11 2011 UTC (13 years, 2 months ago) by pterjan
File size: 753 byte(s)
imported package udev
1 Subject: [PATCH] set STARTUP=1 during coldplug
2
3 From: Andrey Borzenkov <arvidjaar@mail.ru>
4
5 We still have some rules that use it. Do not forget to remove
6 when they are fixed.
7
8 Signed-off-by: Andrey Borzenkov <arvidjaar@mail.ru>
9 ---
10
11 start_udev | 2 ++
12 1 files changed, 2 insertions(+), 0 deletions(-)
13
14 diff --git a/start_udev b/start_udev
15 index 8985a99..3bfa986 100644
16 --- a/start_udev
17 +++ b/start_udev
18 @@ -65,9 +65,11 @@ done
19 if [ "x$SPEEDBOOT" != "xyes" ]; then
20 ret=$[$ret + $?]
21
22 +/sbin/udevadm control --property=STARTUP=1
23 /sbin/udevadm trigger --type=subsystems --action=add
24 /sbin/udevadm trigger --type=devices --action=add
25 /sbin/udevadm settle
26 +/sbin/udevadm control --property=STARTUP=
27 ret=$[$ret + $?]
28 fi # not in SPEEDBOOT mode
29

  ViewVC Help
Powered by ViewVC 1.1.30