Re: Beginners using 1.3
Cees de Groot (C.deGroot@inter.nl.net)
Tue, 27 Feb 1996 12:20:43 +0100
I don't think the kernel is the place. This is the responsibility of the
distributors - I think a big warning in some rc script per default should be
more than enough. The Guys Who Know will have no problem removing this (just
like all that stuff about having your root read-write in the Slackware init
scripts), and all others will have to confirm that they are willing to risk
their machine (most kernels nowadays manage to kick off at least the
single-user startup phase).
Something along the line:
#!/bin/sh
minor=`uname -r|sed 's/^.*\.\(.*\)\..*$/\1/'`
if [ `expr $minor % 2` = 1 ]
then
echo "Alpha kernel"
else
echo "Stable kernel"
fi
but more annoying :-)
--
Cees de Groot <C.deGroot@inter.NL.net>
OpenLink Software, Inc.