Prev: how to delay boot when waiting for usb disks?
Next: What's the easiest way for a shell script to tell if grub version 1 is installed?
From: Stephen Powell on 1 Jul 2010 14:40 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-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/195019121.103027.1278009012663.JavaMail.root(a)md01.wow.synacor.com |