summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2022-02-04 22:42:06 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2022-02-04 22:42:06 +0100
commit517398a5c435143f7c7f55ca8e3a74dbdc83647a (patch)
treebf45abe30a2ac4481f527821c08cef4c869b7b7e /sbin
parent7e62b1ac15930769995c77674fc24fb4ee79ba20 (diff)
downloaditzks-systems-517398a5c435143f7c7f55ca8e3a74dbdc83647a.tar.gz
itzks-systems-517398a5c435143f7c7f55ca8e3a74dbdc83647a.tar.bz2
itzks-systems-517398a5c435143f7c7f55ca8e3a74dbdc83647a.zip
diskless-workstation-shell*: Set explicit TMPDIR to /tmp (instead of being bothered by libpam-tmpdir.
Diffstat (limited to 'sbin')
-rwxr-xr-xsbin/diskless-workstation-shell.bookworm2
-rwxr-xr-xsbin/diskless-workstation-shell.bullseye2
-rwxr-xr-xsbin/diskless-workstation-shell.buster2
3 files changed, 6 insertions, 0 deletions
diff --git a/sbin/diskless-workstation-shell.bookworm b/sbin/diskless-workstation-shell.bookworm
index 54da7dd..8284d81 100755
--- a/sbin/diskless-workstation-shell.bookworm
+++ b/sbin/diskless-workstation-shell.bookworm
@@ -23,6 +23,8 @@ VERSION=0.3
DLW_SHELL="bash"
CHROOT="/srv/ltsp/dlw+amd64+bookworm/"
+export TMPDIR=/tm
+
test -e "$CHROOT" || {
echo "ERROR: Diskless workstation chroot does not exist at $CHROOT."
exit -1
diff --git a/sbin/diskless-workstation-shell.bullseye b/sbin/diskless-workstation-shell.bullseye
index 27222f3..ec9acc8 100755
--- a/sbin/diskless-workstation-shell.bullseye
+++ b/sbin/diskless-workstation-shell.bullseye
@@ -23,6 +23,8 @@ VERSION=0.3
DLW_SHELL="bash"
CHROOT="/srv/ltsp/dlw+amd64+bullseye/"
+export TMPDIR=/tmp
+
test -e "$CHROOT" || {
echo "ERROR: Diskless workstation chroot does not exist at $CHROOT."
exit -1
diff --git a/sbin/diskless-workstation-shell.buster b/sbin/diskless-workstation-shell.buster
index d8261a8..d53333b 100755
--- a/sbin/diskless-workstation-shell.buster
+++ b/sbin/diskless-workstation-shell.buster
@@ -23,6 +23,8 @@ VERSION=0.3
DLW_SHELL="bash"
CHROOT="/srv/ltsp/dlw+amd64+buster/"
+export TMPDIR=/tm
+
test -e "$CHROOT" || {
echo "ERROR: Diskless workstation chroot does not exist at $CHROOT."
exit -1