1 2 3 4 5 6 7 8 9 10 11 12 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