pgj / freebsd-wifibox

wifibox: Use Linux to drive your wireless card on FreeBSD
BSD 2-Clause "Simplified" License
159 stars 12 forks source link

Two 'wifibox start' processes #36

Closed mkohanim closed 2 years ago

mkohanim commented 2 years ago

Hi Gábor,

Is there any reason why there are 2 x 'wifibox start' processes?

With kind regards, Michel

pgj commented 2 years ago

That is because the wifibox script launches programs, e.g. bhyve while reading and saving their outputs. That is why it has to fork: one instance waits for the program in question to terminate and the other instance processes the generated output line by line (even if logging is disabled). Hence it is an expected behavior.

mkohanim commented 2 years ago

Thank you for the explanation.

pgj commented 2 years ago

I consider this issue answered and I am closing it now.