diff options
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..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 |