diff options
Diffstat (limited to 'main/xen/xendomains.initd')
-rw-r--r-- | main/xen/xendomains.initd | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/main/xen/xendomains.initd b/main/xen/xendomains.initd index 794a78697f..27464c6856 100644 --- a/main/xen/xendomains.initd +++ b/main/xen/xendomains.initd @@ -6,8 +6,8 @@ extra_commands="status" depend() { - need xenstored xenconsoled - after dhcp + need xenstored + after dhcp xend xenconsoled } get_domname() { @@ -30,6 +30,9 @@ using_screen() { set_screen_cmd() { export SCREENDIR=${SCREENDIR:-/tmp/screens/S-root} + # create the parent dirs + mkdir -p "$SCREENDIR" + # set permissions checkpath -d -m 700 "$SCREENDIR" screen_cmd="screen -c ${SCREENRC:-/dev/null} -q -r ${SCREEN_NAME:=xen} -X" } |