grub 311 B

12345678910111213141516171819
  1. #!/bin/sh
  2. . /lib/recovery-mode/l10n.sh
  3. if [ "$1" = "test" ]; then
  4. echo $(eval_gettext "Update grub bootloader")
  5. exit 0
  6. fi
  7. # FIXME: add this too? how to find out boot device?
  8. # add menu to ask?
  9. #grub-install
  10. update-grub
  11. echo ""
  12. echo $(eval_gettext "Finished, please press ENTER")
  13. read TMP
  14. exit 0