#!/bin/sh . /etc/default/grub export GRUB_DISABLE_RECOVERY=true export GRUB_DISABLE_SUBMENU=y export GRUB_CMDLINE_LINUX_DEFAULT=$GRUB_CMDLINE_LINUX_DEFAULT_ALT /etc/grub.d/10_linux | python /usr/bin/extract-menuentry.py