summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcore/modules/slx-issue/data/opt/openslx/scripts/openslx-create_issue3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/modules/slx-issue/data/opt/openslx/scripts/openslx-create_issue b/core/modules/slx-issue/data/opt/openslx/scripts/openslx-create_issue
index 12a40048..f0c87d69 100755
--- a/core/modules/slx-issue/data/opt/openslx/scripts/openslx-create_issue
+++ b/core/modules/slx-issue/data/opt/openslx/scripts/openslx-create_issue
@@ -21,8 +21,9 @@ export PATH="$PATH:/opt/openslx/bin:/opt/openslx/sbin"
# Set greeting and add information about the booted system
+mkdir -p /run/openslx
declare -rg INFILE=/opt/openslx/etc/issue.template
-declare -rg TMPFILE=$(mktemp)
+declare -rg TMPFILE=$(mktemp -p /run/openslx)
declare -rg OUTFILE=/etc/issue
. /opt/openslx/config