Messages in this thread | | | Subject | Re: kmod/kerneld | From | Andreas Schwab <> | Date | 16 Mar 1998 11:39:52 +0100 |
| |
Michiel Boland <boland@diva.nl> writes:
|> On 13 Mar 1998, Andreas Schwab wrote: |> [about detecting kernel versions in shell scripts]
|>> if let "$1 * 65536 + $2 * 256 + $3 <= 0x2015a" |>> then |>> echo load kerneld |>> fi
|> If I'm not mistaken, 'let' is a bash-ism.
Ragnar explicitly used #!/bin/bash in his original script, so it's ok. But you can easily replace it with expr.
-- 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
| |