[CentOS-docs] Wiki edit: HowTos/Grub2

Tue Aug 6 11:52:50 UTC 2019
Mitchell Roe <mitchell.roe at member.fsf.org>


This is my first contribution, so please let me know if there is
anything I should be doing differently.  I am following the instructions
found here: <https://wiki.centos.org/Contribute>.

Your /FirstnameLastname/ username: MitchellRoe

The proposed subject of your Wiki contribution(s): Corrected path for
getting menu entries

The proposed location of your Wiki contribution(s): In
<https://wiki.centos.org/HowTos/Grub2>, in section 2 titled "2. How to
Define the Default Entries", in the first code block, the command given

awk -F\' '$1=="menuentry " {print i++ " : " $2}' /etc/grub2.cfg

I propose it should be the following:

awk -F\' '$1=="menuentry "{print i++ " : " $2}' /boot/grub2/grub.cfg

Thanks for the helpful guides.  I look forward to contributing more in
the future!

Mitchell Roe (he/him/his)
mitchell.roe at member.fsf.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos-docs/attachments/20190806/4513bb39/attachment-0003.html>