source: first-aid-kit/trunk/fuentes/first-aid-kit.install/usr/share/first-aid-kit/grub-listmenu.sh @ 8615

Last change on this file since 8615 was 8615, checked in by daduve, 2 years ago

New grub-menu script to dectect list grub menu

  • Property svn:executable set to *
File size: 148 bytes
Line 
1#!/bin/bash
2awk -F\' '$1=="menuentry " || $1=="submenu " {print i++ " : " $2}; /\tmenuentry / {print "\t" i-1">"j++ " : " $2};' /boot/grub/grub.cfg
Note: See TracBrowser for help on using the repository browser.