#!/bin/sh -e echo "System Rescue CD" >&2 if [ -r /etc/default/systemrescuecd ] ; then . /etc/default/systemrescuecd fi cat << EOF submenu "System Rescue" { menuentry "System Rescue (x86_64)" { linux ${BASE_DIR}/sysrescue/rescue64 subdir=${BASE_DIR}/sysrescue ${CUSTOM_BOOTOPTIONS} initrd ${BASE_DIR}/sysrescue/initram.igz } menuentry "System Rescue (x86_64) in Memory" { linux ${BASE_DIR}/sysrescue/rescue64 subdir=${BASE_DIR}/sysrescue docache ${CUSTOM_BOOTOPTIONS} initrd ${BASE_DIR}/sysrescue/initram.igz } menuentry "System Rescue (i586)" { linux ${BASE_DIR}/sysrescue/rescue32 subdir=${BASE_DIR}/sysrescue ${CUSTOM_BOOTOPTIONS} initrd ${BASE_DIR}/sysrescue/initram.igz } menuentry "System Rescue (i586) in Memory" { linux ${BASE_DIR}/sysrescue/rescue32 subdir=${BASE_DIR}/sysrescue docache ${CUSTOM_BOOTOPTIONS} initrd ${BASE_DIR}/sysrescue/initram.igz } menuentry "MemTest+" { linux16 ${BASE_DIR}/sysrescue/bootdisk/memtestp } menuentry "NT Password Editor" { linux ${BASE_DIR}/sysrescue/ntpasswd/vmlinuz initrd=/${BASE_DIR}/sysrescue/ntpasswd/scsi.cgz initrd ${BASE_DIR}/sysrescue/ntpasswd/initrd.cgz } menuentry "FreeDOS" { linux16 ${BASE_DIR}/sysrescue/memdisk floppy initrd16 ${BASE_DIR}/sysrescue/bootdisk/freedos.img } menuentry "Netboot - Boot from Network" { linux16 ${BASE_DIR}/sysrescue/netboot } menuentry "HDT - Hardware Diagnostic Tool (recent)" { linux16 ${BASE_DIR}/sysrescue/memdisk floppy initrd16 ${BASE_DIR}/sysrescue/bootdisk/hdt.img } menuentry "MHDD - Low-level Hard Drive diagnostic tool" { linux16 ${BASE_DIR}/sysrescue/memdisk floppy initrd16 ${BASE_DIR}/sysrescue/bootdisk/mhdd.img } } EOF