File: shutdown

package info (click to toggle)
progress-linux-metapackages 20210101-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 136 kB
  • sloc: makefile: 56; sh: 50
file content (13 lines) | stat: -rwxr-xr-x 319 bytes parent folder | download
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