git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c925dce
)
init: Check that start_udev succeeded
author
Matthew Booth
<mbooth@redhat.com>
Wed, 21 Oct 2009 09:16:50 +0000
(10:16 +0100)
committer
Matthew Booth
<mbooth@redhat.com>
Wed, 21 Oct 2009 09:16:50 +0000
(10:16 +0100)
If start_udev fails for any reason, notice and fall through to manual /dev
creation.
Patch from Charles Duffy <charles@dyfis.net>
appliance/init
patch
|
blob
|
history
diff --git
a/appliance/init
b/appliance/init
index
545232c
..
4e9b66f
100755
(executable)
--- a/
appliance/init
+++ b/
appliance/init
@@
-9,8
+9,8
@@
mount -t sysfs /sys /sys
if [ -x /etc/init.d/udev ]; then
/etc/init.d/udev start
-elif [ -x /sbin/start_udev ]; then
- /sbin/start_udev
+elif [ -x /sbin/start_udev ]
&& /sbin/start_udev
; then
+ :
else
echo No udev, creating /dev manually
mount -t tmpfs none /dev