diff options
Diffstat (limited to 'templates/grub.cfg')
-rw-r--r-- | templates/grub.cfg | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/grub.cfg b/templates/grub.cfg index 6ff5b62..1124452 100644 --- a/templates/grub.cfg +++ b/templates/grub.cfg @@ -52,12 +52,12 @@ function bootfde { set target=root fi - if [ "${version}" == 'default' ]; then + if [ "${version}" = 'default' ]; then set kernel="/vmlinuz" set initrd="/initrd.img" else set kernel="/boot/vmlinuz-${version}" - set initrd="/boot/initrd.img-${version}"" + set initrd="/boot/initrd.img-${version}" fi cryptomount lvm/${volume} @@ -105,12 +105,12 @@ function bootimg { set distro=debian fi - if [ "${version}" == 'default' ]; then + if [ "${version}" = default ]; then set kernel="/vmlinuz" set initrd="/initrd.img" else set kernel="/boot/custom/${distro}/vmlinuz-${version}" - set initrd="/boot/custom/${distro}initrd.img-${version}"" + set initrd="/boot/custom/${distro}initrd.img-${version}" fi echo "Loading ${1}..." |