From 0f4b95890642a2ebdb067531d7ec3ce214033071 Mon Sep 17 00:00:00 2001 From: hasufell Date: Sat, 1 Aug 2015 14:58:08 +0200 Subject: [PATCH] saving uncommitted changes in /etc prior to emerge run --- grub.d/._cfg0000_39_memtest86+ | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100755 grub.d/._cfg0000_39_memtest86+ diff --git a/grub.d/._cfg0000_39_memtest86+ b/grub.d/._cfg0000_39_memtest86+ new file mode 100755 index 0000000..14f27a2 --- /dev/null +++ b/grub.d/._cfg0000_39_memtest86+ @@ -0,0 +1,33 @@ +#!/bin/sh + +. /usr/share/grub/grub-mkconfig_lib + +memtest=/boot/memtest86plus/memtest + +if [ -f "${memtest}" ]; then + device="$("${grub_probe}" --target=device "${memtest}")" + path="$(make_system_path_relative_to_its_root "${memtest}")" + cat <