diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-05-26 11:38:58 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-05-26 11:38:58 -0300 |
commit | ec80c1eb0a3ed160aa19293d722b2c9bc835d5f9 (patch) | |
tree | 91b40ec366a99e28f29a6baf876d1ac63fbc0487 /templates | |
parent | aa4acac0967c9df3d84928bd72a6337a6f8114f0 (diff) | |
download | bootless-ec80c1eb0a3ed160aa19293d722b2c9bc835d5f9.tar.gz bootless-ec80c1eb0a3ed160aa19293d722b2c9bc835d5f9.tar.bz2 |
Fix grub.cfg syntax
Diffstat (limited to 'templates')
-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}..." |