summaryrefslogtreecommitdiffstats
path: root/debian/local
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-03-29 06:29:57 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-03-29 06:29:57 +0000
commit85daa5f631dd11abfd689d4ddc9064190272a52e (patch)
tree6b3021567d8216d2590dd2b4c87dcbfcf0d5c95a /debian/local
parentAdding upstream version 20230327. (diff)
downloadkinet-metapackages-85daa5f631dd11abfd689d4ddc9064190272a52e.tar.xz
kinet-metapackages-85daa5f631dd11abfd689d4ddc9064190272a52e.zip
Adding debian version 20230327-1.debian/20230327-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/local')
-rwxr-xr-xdebian/local/shutdown13
-rw-r--r--debian/local/shutdown.txt6
2 files changed, 19 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
diff --git a/debian/local/shutdown.txt b/debian/local/shutdown.txt
new file mode 100644
index 0000000..b082bf0
--- /dev/null
+++ b/debian/local/shutdown.txt
@@ -0,0 +1,6 @@
+
+Linux container share the kernel of the host system they are running on,
+there is no need to reboot just the container.
+
+However, please contact your system administrator to reboot this
+container from the host system.