What's the easiest way for a shell script to tell if grub version 1
is installed?  It is important to distinguish grub version 1 from
grub version 2.  For example, can I just do this?

if [ -f /boot/grub/menu.lst ];then
   blah
   blah
   blah
fi

Or does that file exist in grub version 2 as well?  I don't have
grub version 2 installed on any of my machines; so I can't easily
determine this.

-- 
  .''`.     Stephen Powell    
 : :'  :
 `. `'`
   `-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/195019121.103027.1278009012663.javamail.r...@md01.wow.synacor.com

Reply via email to