![]() | |||||||||||||
Messages in this thread |
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 12:41 [W:0.453 / U:0.380 seconds] ©2003-2008 Jasper Spaans | |||||||||||||