summaryrefslogtreecommitdiffstats
path: root/debian/local/shutdown
blob: 16ee5ed344ab35f11a84f29965a80afc2e7902fe (plain)
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/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