aboutsummaryrefslogtreecommitdiffstats
path: root/main/xen/xenstored.initd
diff options
context:
space:
mode:
Diffstat (limited to 'main/xen/xenstored.initd')
-rw-r--r--main/xen/xenstored.initd7
1 files changed, 4 insertions, 3 deletions
diff --git a/main/xen/xenstored.initd b/main/xen/xenstored.initd
index cfb6957d4f..e92eb40b04 100644
--- a/main/xen/xenstored.initd
+++ b/main/xen/xenstored.initd
@@ -59,9 +59,10 @@ start() {
fi
eend $? || return 1
- ebegin "Setting domain0 name record"
- /usr/bin/xenstore-write "/local/domain/0/name" "Domain-0"
- eend $*
+ ebegin "Setting domain0 name and domid record"
+ /usr/bin/xenstore-write "/local/domain/0/name" "Domain-0" \
+ && /usr/bin/xenstore-write "/local/domain/0/domid" 0
+ eend $?
}
stop() {