Derek Higgins 4c674a2476 Use grub2-mkconfig if update-grub isn't present
update-grub doesn't exist on fedora so if the legacy grub config file is
being used use grub2-mkconfig instead.

Also slightly change the sed GRUB_CMDLINE_LINUX regex so that it will
match if the command line already contains entries.

Change-Id: I21ce382a0023d674a4a2e6afecc9bc678791eac9
2014-04-30 01:30:42 +01:00
..
2013-12-04 10:54:52 -08:00
2014-04-28 08:19:08 -07:00