From 382912ec55c9dcf411764579a173eb0ece6d4445 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Wed, 11 Jun 2014 11:14:13 +0000 Subject: main/xen: make sure /var/run/xen exists - start xendomains after localmount so localmount does not mount over our /var - add checkpath to xendomains, just in case ref #2837 --- main/xen/xendomains.initd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'main/xen/xendomains.initd') diff --git a/main/xen/xendomains.initd b/main/xen/xendomains.initd index 27464c685..e6751eeea 100644 --- a/main/xen/xendomains.initd +++ b/main/xen/xendomains.initd @@ -16,7 +16,7 @@ get_domname() { if [ -z ${name_from_file} ]; then basename "${1}" else - echo ${name_from_file} + echo ${name_from_file} fi } @@ -51,6 +51,7 @@ wait_screen() { start() { set_screen_cmd + checkpath --directory --mode 755 /var/run/xen einfo "Starting Xen domains from ${AUTODIR:=/etc/xen/auto}" if using_screen ; then -- cgit v1.2.3