custom.cfg 756 B

1234567891011121314151617181920
  1. #!/bin/sh
  2. ##### My (demuredemeanor) /boot/grub/custom.cfg
  3. # Uses tabstop=4; shiftwidth=4 tabs; foldmarker={{{,}}};
  4. # https://notabug.org/demure/dotfiles/
  5. # legacy repo http://github.com/demure/dotfiles
  6. ## Read https://www.gnu.org/software/grub/manual/grub.html#Security
  7. #
  8. # add a superusers line
  9. # add a password_pbkdf2 line
  10. #
  11. # edit /etc/grub.d/10_linux to add --unrestricted to two lines
  12. #
  13. # [...]
  14. # echo "menuentry '$(echo "$title" | grub_quote)' --unrestricted ${CLASS} \$menuentry_id_option 'gnulinux-$version-$type-$boot_device_id' {" | sed "s/^/$submenu_indentation/"
  15. # else
  16. # echo "menuentry '$(echo "$os" | grub_quote)' --unrestricted ${CLASS} \$menuentry_id_option 'gnulinux-simple-$boot_device_id' {" | sed "s/^/$submenu_indentation/"
  17. # [...]