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/shutdown | |
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/shutdown')
-rwxr-xr-x | debian/local/shutdown | 13 |
1 files changed, 13 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 |