aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xkvmx7
-rw-r--r--share/screen/screenrc2
2 files changed, 2 insertions, 7 deletions
diff --git a/kvmx b/kvmx
index 1a06c4a..9203e64 100755
--- a/kvmx
+++ b/kvmx
@@ -411,12 +411,7 @@ function kvmx_up {
echo $XDMCP_PORT > $XDMCPPORTFILE
# Thanks kvm-manager code for that portion
- local screen_log_args=-L
- if dpkg --compare-versions "$screen_version" ge 4.05; then
- screen_log_args="-L $DATADIR/servicelog"
- fi
-
- /usr/bin/screen -D -m $screen_log_args \
+ /usr/bin/screen -D -m -L $LOGDIR/servicelog \
-c $DIRNAME/share/screen/screenrc \
-S "kvmx-$VM" -t "kvmx-$VM" socat STDIO,raw,echo=0 "UNIX:${CONSOLEFILE},retry=30" &
diff --git a/share/screen/screenrc b/share/screen/screenrc
index 0a76b80..fcc17fd 100644
--- a/share/screen/screenrc
+++ b/share/screen/screenrc
@@ -3,7 +3,7 @@
# use C-\ as the escape character
escape \034\034
-logfile ./servicelog
+#logfile ./servicelog
logfile flush 1
# unset important key bindings