File: 22_invaders

package info (click to toggle)
invaders 1.0.0-19
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 324 kB
  • sloc: ansic: 2,231; sh: 56; asm: 28; makefile: 17
file content (15 lines) | stat: -rw-r--r-- 401 bytes parent folder | download | duplicates (5)
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