|
From: Tim T. <t....@co...> - 2004-01-05 00:01:05
|
Tim Tait wrote: > > I made what I think is a few enhancements to the linuxrc script... now > this is my 1st attempt at any real script mods, so I may not have it > all correct. > > First is simple, I have it check floppies for a config 1st, thus > allowing someone to temporarily test new configs by overiding one > stored on a HD. Probably be good to check other removeable media list > USB 1st too but thats trickier. I don't think this raises a security > risk, cause if someone can put floppies into your machine they can do > a lot worse too. > > 2nd, if you have multiple possible sources of the configuration file, > if it's not on the first one, it halts the boot to prompt if you want > to write a default one to it. This is really bad, because it hangs the > system on an unattended reboot. So I tweaked the script to check all > media 1st, then if none was found do a 2nd pass to look for blank > media. Of course lastly it still checks the CDROM. Is it possible to > pass the config source from grub as option, like it works for > "root=/dev/hda1"? 2nd try with "unified diff" attachment. I couldn't get the cvs diff -run to work, sorry. Tim |