'Twas brillig, and Luc Menut at 25/03/12 17:35 did gyre and gimble: > Le 25/03/2012 17:45, [email protected] a écrit : >> Revision >> 226393 >> Author >> colin > > [...] > >> >> +%triggerpostun backend -- drakxtools-backend< 14.1-2 >> +if [ -w /boot/grub/menu.lst ]; then >> + if grep -q splash= /boot/grub/menu.lst; then >> + echo"Migrating kernel commandline bootsplash arguments in grub" >> + sed -i 's/ splash=silent / splash quiet /;s/ splash=silent$/ >> splash quiet/;s/ splash=verbose / /;s/ splash=verbose$//;' >> /boot/grub/menu.lst >> + fi >> +fi >> + > > IIUC this script, you update splash=silent & splash=verbose in > /boot/grub/menu.lst for all the lines. > What happens if we have entries for mga1 or other distros in the same > grub menu.lst ? > Aren't you going to break all these entries with such update? > > Personaly, I use the same /boot/grub/menu.lst for mga 1 and cauldron.
Yeah, good point. Any suggestions on how to do this more gracefully? Col -- Colin Guthrie colin(at)mageia.org http://colin.guthr.ie/ Day Job: Tribalogic Limited http://www.tribalogic.net/ Open Source: Mageia Contributor http://www.mageia.org/ PulseAudio Hacker http://www.pulseaudio.org/ Trac Hacker http://trac.edgewall.org/
