diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2019-10-24 06:37:22 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2019-11-18 08:09:13 +0000 |
commit | 8c4f82ba965285cac6268aa5616fe4130c27eee4 (patch) | |
tree | e2ba0f7e30bb34b373afe5f4dec4206b187c1e77 /debian/local | |
parent | Adding conflicts against resolvconf in progress-linux-base. (diff) | |
download | progress-linux-metapackages-8c4f82ba965285cac6268aa5616fe4130c27eee4.tar.xz progress-linux-metapackages-8c4f82ba965285cac6268aa5616fe4130c27eee4.zip |
Diverting shutdown commands in progress-linux-container package.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/local')
-rwxr-xr-x | debian/local/shutdown | 13 | ||||
-rw-r--r-- | debian/local/shutdown.txt | 6 |
2 files changed, 19 insertions, 0 deletions
diff --git a/debian/local/shutdown b/debian/local/shutdown new file mode 100755 index 0000000..16ee5ed --- /dev/null +++ b/debian/local/shutdown @@ -0,0 +1,13 @@ +#!/bin/sh + +echo "${0}: disabled in systemd-nspawn container" + +if [ -e /etc/open-infrastructure/container/shutdown.txt ] +then + cat /etc/open-infrastructure/container/shutdown.txt +elif [ -e /usr/share/open-infrastructure/container/shutdown.txt ] +then + cat /usr/share/open-infrastructure/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. |