aboutsummaryrefslogtreecommitdiffstats
path: root/main/xen/xendomains.initd
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-06-22 14:22:26 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-06-22 14:22:26 +0000
commit01f58adb24ce238a77eeac9569e708dbb121776d (patch)
tree0a83b37981d2d8bbcd708b7da0e0f63eb5f27f78 /main/xen/xendomains.initd
parentb06fcf3d5f6e8a4922937a00ba8b8ced4452905d (diff)
downloadaports-01f58adb24ce238a77eeac9569e708dbb121776d.tar.bz2
aports-01f58adb24ce238a77eeac9569e708dbb121776d.tar.xz
main/xen: use default screendir location
Otherwise screen -x will not work without manually setting screen dir
Diffstat (limited to 'main/xen/xendomains.initd')
-rw-r--r--[-rwxr-xr-x]main/xen/xendomains.initd2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/xen/xendomains.initd b/main/xen/xendomains.initd
index c791e3e585..ce3c0c3b94 100755..100644
--- a/main/xen/xendomains.initd
+++ b/main/xen/xendomains.initd
@@ -29,7 +29,7 @@ using_screen() {
}
set_screen_cmd() {
- export SCREENDIR=/var/run/xen-screens
+ export SCREENDIR=${SCREENDIR:-/tmp/screens/S-root}
checkpath --directory --mode 700 "$SCREENDIR"
screen_cmd="screen -c ${SCREENRC:-/dev/null} -q -r ${SCREEN_NAME:=xen} -X"
}