PREUN
/bin/sh
if [ -x /usr/sbin/bootloader-config ]; then /usr/sbin/bootloader-config --action remove-entry --label memtest fi
POSTIN
/bin/sh
if [ -x /usr/sbin/bootloader-config ]; then /usr/sbin/bootloader-config --action add-entry --label memtest --image /boot/memtest.bin fi