|
|
|
@ -7,6 +7,9 @@ fi
|
|
|
|
|
[[ -f /etc/default/grub ]] && . /etc/default/grub
|
|
|
|
|
[[ -f /etc/os-release ]] && . /etc/os-release
|
|
|
|
|
|
|
|
|
|
# NCSD mess
|
|
|
|
|
PRETTY_VERSION="$(echo $VERSION | sed 's/(//g;s/)//g')"
|
|
|
|
|
|
|
|
|
|
COMMAND="$1"
|
|
|
|
|
KERNEL_VERSION="$2"
|
|
|
|
|
BOOT_DIR_ABS="$3"
|
|
|
|
@ -38,7 +41,7 @@ mkbls() {
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
cat <<EOF
|
|
|
|
|
title ${NAME} (${kernelver}) ${VERSION}${debugname}
|
|
|
|
|
title ${NAME} (${kernelver}) ${PRETTY_VERSION}${debugname}
|
|
|
|
|
version ${kernelver}${debugid}
|
|
|
|
|
linux /vmlinuz-${kernelver}
|
|
|
|
|
initrd /initramfs-${kernelver}.img
|
|
|
|
|