diff options
Diffstat (limited to 'resources/scripts')
-rwxr-xr-x | resources/scripts/build/payload/grub | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/resources/scripts/build/payload/grub b/resources/scripts/build/payload/grub index de644006..d170f501 100755 --- a/resources/scripts/build/payload/grub +++ b/resources/scripts/build/payload/grub @@ -87,14 +87,9 @@ build_grub_elf() create_grub_configs() { - if [ "${keymap}" = "usqwerty" ]; then - cp ${grubcfgsdir}/config/grub.cfg \ - payload/grub/grub_usqwerty.cfg - else - sed "s/usqwerty/${keymap}/" \ - < ${grubcfgsdir}/config/grub.cfg \ - > payload/grub/grub_${keymap}.cfg - fi + sed "s/usqwerty/${keymap}/" \ + < ${grubcfgsdir}/config/grub.cfg \ + > payload/grub/grub_${keymap}.cfg sed "s/grubtest.cfg/grub.cfg/" \ < payload/grub/grub_${keymap}.cfg \ > payload/grub/grub_${keymap}_test.cfg |