[vbox-dev] Linux Additions init script bug
Klaus Espenlaub
klaus.espenlaub at oracle.com
Wed Aug 21 07:50:03 PDT 2013
Hi Marcos,
On 11.08.2013 23:22, Marcos Mello wrote:
> vboxadd init script start function:
>
...
> At line 287, grep -q '^2\.6' will return false on 3.x kernels and do_vboxguest_non_udev will always be executed, even when udevd is present.
>
> grep -E -q '^2\.6|^3' should fix it and I think is portable enough.
Correct, and staying away from extended regexp notation this is
'^2\.6\|^3' - should be somewhat faster, and doesn't assume that egrep
is there (or that grep understands -E).
Thanks for letting us know, this will go into the next maintenance versions.
Klaus
More information about the vbox-dev
mailing list