HEX
Server: nginx/1.24.0
System: Linux webserver 6.8.0-87-generic #88-Ubuntu SMP PREEMPT_DYNAMIC Sat Oct 11 09:28:41 UTC 2025 x86_64
User: wpuser (1002)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: //proc/thread-self/root/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