lkml.org 
[lkml]   [1998]   [Mar]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: kmod/kerneld
From
Date
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

\
 
 \ /
  Last update: 2005-03-22 13:41    [W:0.051 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site