Re: swap not enabled if raid devices not in sync when booting
Brian May <bam@debian.org> wrote:
>>>>>> "Miquel" == Miquel van Smoorenburg <miquels@traveler.cistron-office.nl> writes:
> ]
> Miquel> Or perhaps: if dpkg --compare-versions `uname -r` lt 2.4.0
> Miquel> ....
> This won't work properly for versions like 2.4.0-test10 :-(
> snoopy:~# dpkg --compare-versions 2.4.0-test10 lt 2.4.0 || echo false
> false
Which ironically is what you actually want :)
--
Debian GNU/Linux 2.2 is out! ( http://www.debian.org/ )
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Reply to: