HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //lib/recovery-mode/options/grub
#!/bin/sh

. /lib/recovery-mode/l10n.sh

if [ "$1" = "test" ]; then
  echo $(eval_gettext "Update grub bootloader")
  exit 0
fi

# FIXME: add this too? how to find out boot device?
#        add menu to ask?
#grub-install
update-grub

echo ""
echo $(eval_gettext "Finished, please press ENTER")
read TMP

exit 0