summaryrefslogtreecommitdiffstats
path: root/debian/local/shutdown
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-03-29 06:27:41 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-03-29 06:27:41 +0000
commitd2e88cf2399110e878618103aefd00da3c1e90fc (patch)
tree6b3021567d8216d2590dd2b4c87dcbfcf0d5c95a /debian/local/shutdown
parentReleasing version 20230327. (diff)
downloadkinet-metapackages-debian/20230327-1.tar.xz
kinet-metapackages-debian/20230327-1.zip
Adding debian version 20230327-1.debian/20230327-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/local/shutdown')
-rwxr-xr-xdebian/local/shutdown13
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/local/shutdown b/debian/local/shutdown
new file mode 100755
index 0000000..30e959d
--- /dev/null
+++ b/debian/local/shutdown
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+echo "${0}: disabled in systemd-nspawn container"
+
+if [ -e /etc/compute-tools/shutdown.txt ]
+then
+ cat /etc/compute-tools/shutdown.txt
+elif [ -e /usr/share/container/shutdown.txt ]
+then
+ cat /usr/share/container/shutdown.txt
+fi
+
+exit 1