projects
/
platform
/
upstream
/
dracut.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7717b44
)
try harder to kill udev
author
Harald Hoyer
<harald@redhat.com>
Thu, 2 Jul 2009 09:42:05 +0000
(11:42 +0200)
committer
Harald Hoyer
<harald@redhat.com>
Thu, 2 Jul 2009 09:47:27 +0000
(11:47 +0200)
modules.d/99base/init
patch
|
blob
|
history
diff --git
a/modules.d/99base/init
b/modules.d/99base/init
index
2acf274
..
868ca19
100755
(executable)
--- a/
modules.d/99base/init
+++ b/
modules.d/99base/init
@@
-115,7
+115,14
@@
done
}
getarg rdbreak && emergency_shell
-kill $(pidof udevd)
+
+HARD=""
+while pidof udevd >/dev/null 2>&1; do
+ for pid in $(pidof udevd); do
+ kill $HARD $pid >/dev/null 2>&1
+ done
+ HARD="-9"
+done
# Clean up the environment
for i in $(export -p); do