Opened 5 years ago

Closed 5 years ago

#686 closed defect (fixed)

mindi grub files content

Reported by: vicgat Owned by: vicgat
Priority: low Milestone: 3.0.4
Component: mindi Version: 3.0.3
Severity: normal Keywords: mindi grub
Cc: vicgat

Description

In rev [3121], device.map.lst is used, but it is device.map

So :

if [ -r /boot/grub/device.map.lst ]; then
	LogFile "-------------"
	LogFile "INFO: /boot/grub/device.map content"
	LogFile "-------------"
	cat /boot/grub/menu.lst >> $LOGFILE

Should be replaced by :

if [ -r /boot/grub/device.map ]; then
	LogFile "-------------"
	LogFile "INFO: /boot/grub/device.map content"
	LogFile "-------------"
	cat /boot/grub/device.map >> $LOGFILE
	LogFile "-------------"

And, as in some distribs, menu.lst is named grub.conf (RHEL) or grub.cfg (Ubuntu), should be added :

if [ -r /boot/grub/grub.conf ]; then
	LogFile "-------------"
	LogFile "INFO: /boot/grub/grub.conf content"
	LogFile "-------------"
	cat /boot/grub/grub.conf >> $LOGFILE
	LogFile "-------------"
if [ -r /boot/grub/grub.cfg ]; then
	LogFile "-------------"
	LogFile "INFO: /boot/grub/grub.cfg content"
	LogFile "-------------"
	cat /boot/grub/grub.cfg >> $LOGFILE
	LogFile "-------------"

Change History (2)

comment:1 Changed 5 years ago by vicgat

Fixed in rev [3123].

comment:2 Changed 5 years ago by vicgat

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.