]> git.pld-linux.org Git - packages/grub2.git/commitdiff
- initial memtest86+? image finder
authorTomasz Pala <gotar@pld-linux.org>
Tue, 19 Jan 2010 12:53:22 +0000 (12:53 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    20_memtest86 -> 1.1

20_memtest86 [new file with mode: 0644]

diff --git a/20_memtest86 b/20_memtest86
new file mode 100644 (file)
index 0000000..b8fcfbd
--- /dev/null
@@ -0,0 +1,15 @@
+#!/bin/sh -e
+
+. /lib/grub-mkconfig_lib
+
+for file in memtest86+ memtest86; do
+if test -e /boot/$file; then
+       MEMTESTPATH=$( make_system_path_relative_to_its_root "/boot/$file" )
+       echo "Found $file image: $MEMTESTPATH" >&2
+       cat << EOF
+menuentry "Memory test ($file)" {
+       linux   $MEMTESTPATH
+}
+EOF
+fi
+done
This page took 0.156557 seconds and 4 git commands to generate.