/usr/share/pmi/stop-applications.sh is in powermanagement-interface 0.3.20ubuntu1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | #!/bin/bash
# Walk a directory, assembling a list of services that need to be stopped
# Returns a string
. /etc/default/pmi
if [ ! -d $STOPDIR ]; then
echo "No such directory $STOPTDIR, exiting" >&2
exit 1
fi
for file in $(find $STOPDIR -type f -print "%p "); do
STOPLIST="$STOPLIST "$(<$file);
done
echo $STOPLIST
|