diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-06-11 11:14:13 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-06-11 11:18:03 +0000 |
commit | 382912ec55c9dcf411764579a173eb0ece6d4445 (patch) | |
tree | f8398f709eb59946ed4f1603ec91b3414a1b821c /main/xen/xendomains.initd | |
parent | 56accdd60f4617814eb5d1a1bc4ad6a70d596c75 (diff) | |
download | aports-382912ec55c9dcf411764579a173eb0ece6d4445.tar.bz2 aports-382912ec55c9dcf411764579a173eb0ece6d4445.tar.xz |
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
Diffstat (limited to 'main/xen/xendomains.initd')
-rw-r--r-- | main/xen/xendomains.initd | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/main/xen/xendomains.initd b/main/xen/xendomains.initd index 27464c6856..e6751eeeaa 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 |