summaryrefslogtreecommitdiff
path: root/libre-testing/grub2/20_memtest86+
diff options
context:
space:
mode:
authorNicolás Reynolds <apoyosis@correo.inta.gob.ar>2011-02-14 16:00:26 -0300
committerNicolás Reynolds <apoyosis@correo.inta.gob.ar>2011-02-14 16:00:26 -0300
commit4253d9d631fb5aec2e5621169816601a727ca38f (patch)
tree8ed02951040aa02e8251b6ea67e57f6f7889b826 /libre-testing/grub2/20_memtest86+
parentc2c9769dc4be646cd0bb4026f78ea61bf01bed22 (diff)
Moved grub2-1.99~rc1-4 from [libre-testing] to [libre]
Diffstat (limited to 'libre-testing/grub2/20_memtest86+')
-rw-r--r--libre-testing/grub2/20_memtest86+27
1 files changed, 0 insertions, 27 deletions
diff --git a/libre-testing/grub2/20_memtest86+ b/libre-testing/grub2/20_memtest86+
deleted file mode 100644
index 41ca11f02..000000000
--- a/libre-testing/grub2/20_memtest86+
+++ /dev/null
@@ -1,27 +0,0 @@
-#! /bin/sh -e
-########################################################
-# This script generates a memtest86+ entry on grub.cfg #
-# if memtest is installed on the system. #
-########################################################
-
-prefix=/usr
-exec_prefix=${prefix}
-libdir=${exec_prefix}/lib
-
-. ${libdir}/grub/grub-mkconfig_lib
-
-MEMTEST86_IMAGE="/boot/memtest86+/memtest.bin"
-CLASS="--class memtest86 --class gnu --class tool"
-
-if [ -e $MEMTEST86_IMAGE ] && is_path_readable_by_grub $MEMTEST86_IMAGE; then
- # image exists, create menu entry
- echo "Found memtest86+ image: $MEMTEST86_IMAGE" >&2
- cat << EOF
-menuentry "Memory test (memtest86+)" $CLASS {
-EOF
- prepare_grub_to_access_device `${grub_probe} --target=device $MEMTEST86_IMAGE` | sed -e "s/^/ /"
- cat << EOF
- linux16 (\$root)`make_system_path_relative_to_its_root $MEMTEST86_IMAGE`
-}
-EOF
-fi