/etc/grub.d/22_invaders is in grub-invaders 1.0.0-12.
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 | #!/bin/bash -e
if test -e /boot/invaders.exec ; then
source /usr/lib/grub/grub-mkconfig_lib
INVADERSPATH=$( make_system_path_relative_to_its_root "/boot/invaders.exec" )
echo "Found GRUB Invaders image: /boot/invaders.exec" >&2
cat << EOF
menuentry "GRUB Invaders" {
EOF
prepare_grub_to_access_device ${GRUB_DEVICE_BOOT} | sed -e "s/^/\t/g"
cat << EOF
multiboot ${INVADERSPATH}
}
EOF
fi
|