Messages in this thread |  | | | Subject | Re: kmod/kerneld | | From | Andreas Schwab <> | | Date | 13 Mar 1998 12:02:03 +0100 | |
Ragnar Hojland Espinosa <root@lightside.ddns.org> writes:
|> On Thu, 12 Mar 1998, Bernhard Rosenkraenzer wrote:
|>> My solution was
|>>
|>> if test `uname -r` == "2.0.33"; then
|>> /sbin/kerneld
|>> fi
|> What about this, supposing you can run cut and expr:
You can easily do without them.
old_IFS="$IFS"
IFS=".$IFS"
set `uname -r`
IFS="$old_IFS"
if let "$1 * 65536 + $2 * 256 + $3 <= 0x2015a"
then
echo load kerneld
fi
--
Andreas Schwab "And now for something
schwab@issan.informatik.uni-dortmund.de completely different"
schwab@gnu.org
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
|  |