Skip to content

Commit

Permalink
installer: fix grub config
Browse files Browse the repository at this point in the history
  • Loading branch information
ansiwen committed Jan 16, 2025
1 parent 400210c commit 145c4f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/installer/root/boot/grub/grub.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ menuentry "NetHSM Factory Reset - DELETES ALL DATA!" --unrestricted {
echo
echo WARNING: Factory Reset will DELETE ALL DATA!
echo
echo -n "Enter 'yes' to confirm: "
echo -n "Enter 'delete' to confirm: "
read confirm
echo
echo
if [ $confirm == "yes" ] ; then
if [ "${confirm}" == "delete" ] ; then
echo Loading kernel...
linux /boot/vmlinuz uroot.uinitargs=factory-reset

Expand Down

0 comments on commit 145c4f3

Please sign in to comment.