summaryrefslogtreecommitdiffstats
path: root/debian/local/shutdown
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-10 14:43:38 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-10 14:43:38 +0000
commitf8ced10e3f8a74e24e866670e2d55a53b379d7f2 (patch)
treec2929db6f9e5e6f22389c0f1947626e09b53dc4b /debian/local/shutdown
parentAdding upstream version 20221002. (diff)
downloadprogress-linux-metapackages-f8ced10e3f8a74e24e866670e2d55a53b379d7f2.tar.xz
progress-linux-metapackages-f8ced10e3f8a74e24e866670e2d55a53b379d7f2.zip
Adding debian version 20221002-9.debian/20221002-9debian
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