summaryrefslogtreecommitdiffstats
path: root/remote/modules/run-virt/data/opt/openslx/scripts/includes/check_lpd.inc
diff options
context:
space:
mode:
authorSimon Rettberg2016-10-19 15:07:25 +0200
committerSimon Rettberg2016-10-19 15:07:25 +0200
commit7c70ebde186c9589bd6e56f04d9f9bab682a3c14 (patch)
treea50105db62d13275dfacb774a15c51cdea76bcfc /remote/modules/run-virt/data/opt/openslx/scripts/includes/check_lpd.inc
parent[vmware/run-virt] Try to rename includes to what they actually do (diff)
downloadtm-scripts-7c70ebde186c9589bd6e56f04d9f9bab682a3c14.tar.gz
tm-scripts-7c70ebde186c9589bd6e56f04d9f9bab682a3c14.tar.xz
tm-scripts-7c70ebde186c9589bd6e56f04d9f9bab682a3c14.zip
[run-virt] More cleanup; kill legacy support, rename and move includes, kill dead code
Diffstat (limited to 'remote/modules/run-virt/data/opt/openslx/scripts/includes/check_lpd.inc')
-rw-r--r--remote/modules/run-virt/data/opt/openslx/scripts/includes/check_lpd.inc13
1 files changed, 0 insertions, 13 deletions
diff --git a/remote/modules/run-virt/data/opt/openslx/scripts/includes/check_lpd.inc b/remote/modules/run-virt/data/opt/openslx/scripts/includes/check_lpd.inc
deleted file mode 100644
index cfaf811e..00000000
--- a/remote/modules/run-virt/data/opt/openslx/scripts/includes/check_lpd.inc
+++ /dev/null
@@ -1,13 +0,0 @@
-############################################
-# Include: Checking whether lpd is running #
-############################################
-
-# Check if tcpsvd is running. Do this down here so we do not check
-# immediately after trying to spawn it, as this could result in
-# success even if it's not really working.
-
-if ! kill -0 "$PID_LPD"; then
- slxlog "virt-lpd" "Could not start tcpsvd/lpd for virtual machine session"
- notify_user "Durcksystem" "Das Drucksystem konnte nicht initialisiert werden. Druckfunktion nicht verfügbar."
-fi
-