summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emulation/xen-tools/files/xenstored.initd')
-rw-r--r--[-rwxr-xr-x]app-emulation/xen-tools/files/xenstored.initd4
1 files changed, 2 insertions, 2 deletions
diff --git a/app-emulation/xen-tools/files/xenstored.initd b/app-emulation/xen-tools/files/xenstored.initd
index 09009ea..d92616b 100755..100644
--- a/app-emulation/xen-tools/files/xenstored.initd
+++ b/app-emulation/xen-tools/files/xenstored.initd
@@ -1,4 +1,4 @@
-#!/sbin/runscript
+#!/sbin/openrc-run
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
@@ -22,7 +22,7 @@ start() {
--pidfile /run/xenstored.pid \
-- --pid-file=/run/xenstored.pid \
$XENSTORED_OPTS
- until xenstore-exists \ || ((15 < ++i))
+ until xenstore-exists / || $((15 < ++i))
do
echo -n .
sleep 1