grub2/installkernel.in
Javier Martinez Canillas b8ca92b29b Add an installkernel script for BLS configurations
Signed-off-by: Peter Jones <pjones@redhat.com>
2018-08-06 13:33:24 -04:00

9 lines
275 B
Bash

#!/bin/bash
if [[ -x @@LIBEXECDIR@@/installkernel ]] ; then
exec @@LIBEXECDIR@@/installkernel "${@}"
elif [[ -x @@LIBEXECDIR@@/installkernel-bls ]] ; then
exec @@LIBEXECDIR@@/installkernel-bls "${@}"
fi
echo "installkernel is not installed correctly." >>/dev/stderr
exit 1