/usr/share/avifile-0.7/scripts/avicap-shutdown is in libavifile-0.7-common 1:0.7.48~20090503.ds-14build1.
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 | #!/bin/bash
AVICAP_DIR=/etc/avicap
echo $UID $EUID
echo "the system will be going to reboot NOW"
sleep 5s
mkdir -p $AVICAP_DIR
touch $AVICAP_DIR/first_shutdown
/sbin/shutdown -t 10 -r now "Avicap shuts down system"
|