What's the easiest way for a shell script to tell if grub version 1 is installed?
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
: :' :
`. `'`
`-
Reply to: