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

_______________________________________________
vbox-dev mailing list
[email protected]
https://www.virtualbox.org/mailman/listinfo/vbox-dev

Reply via email to