On Sun, Aug 10, 2003 at 09:04:42PM -0600, Marc Aurele La France wrote: > On Mon, 11 Aug 2003, Daniel Stone wrote: > > On Sun, Aug 10, 2003 at 04:57:14PM -0500, Warren Turkal wrote: > > > This patch puts the kernel version in the banner, on Linux, and also whether > > > or not it's tainted (providing it's a sufficiently recent kernel). Thanks > > > to Mike Harris for this patch (slightly altered to remove RH_CUSTOM, etc). > > > Please do not accept this Linux-specific hack of a patch; I merged it to Debian, > > and Mike asked me not to send it upstream. > > Granted, as the patch stands. However, I don't mind doing the minimal > fixing up for inclusion, as this information would be extremely useful in > some logs.
Feel free to make it more generic and include it - that would definitely be cool. > Why the extra symbol, if I may ask, instead merely using defined(linux)? I don't know, I just grabbed it off Mike and did s/RH_CUSTOM/KERNEL_VERSION_IN_BANNER/; I think RH_CUSTOM is a catch-all for Red Hat's whacky stuff. -- Daniel Stone <[EMAIL PROTECTED]> http://www.debian.org - http://www.kde.org - http://www.freedesktop.org "Configurability is always the best choice when it's pretty simple to implement" -- Havoc Pennington, gnome-list
pgp00000.pgp
Description: PGP signature
