#!/bin/bash # Default rc.shutdown for void; add your custom commands here. # # This is run by runit in stage 3 after the services are stopped # (see /etc/runit/3). [[ ! -e /run/rc-shutdown-ran ]] && { [[ -x /opt/bin/pushover-client ]] && /opt/bin/pushover-client -p -1 -m "Shutting down: ${HOSTNAME%%.*}" touch /run/rc-shutdown-ran }