projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2369c11
)
# HG changeset patch
author
Olaf Hering
<olaf@aepfle.de>
Mon, 26 Jul 2010 10:29:11 +0000
(11:29 +0100)
committer
Olaf Hering
<olaf@aepfle.de>
Mon, 26 Jul 2010 10:29:11 +0000
(11:29 +0100)
# User Olaf Hering <olaf@aepfle.de>
# Date
1280140115
-3600
# Node ID
8c3e1e8ddd599371d882b17996be88b545119ccb
# Parent
2092c06f9467747da608c448ddd01e2f1f82290a
tools/hotplug: init.d should test for /proc/xen/capabilities being a file
Correct test for /proc/xen/capabilities
It is a file, not a directory.
Signed-off-by: Olaf Hering <olaf@aepfle.de>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/hotplug/Linux/init.d/xencommons
patch
|
blob
|
history
diff --git
a/tools/hotplug/Linux/init.d/xencommons
b/tools/hotplug/Linux/init.d/xencommons
index 874db88e4730b51ee6294c4ff8266ab696b7bf76..40b7cbe94b0b81035498275d97a92f8360316811 100644
(file)
--- a/
tools/hotplug/Linux/init.d/xencommons
+++ b/
tools/hotplug/Linux/init.d/xencommons
@@
-25,7
+25,7
@@
shopt -s extglob
if test "x$1" = xstart && \
test -d /proc/xen && \
- ! test -
d
/proc/xen/capabilities && \
+ ! test -
f
/proc/xen/capabilities && \
! grep '^xenfs ' /proc/mounts >/dev/null;
then
mount -t xenfs xenfs /proc/xen