[haiku-commits] Re: r34642 - haiku/trunk/src/servers/net

  • From: Jérôme Duval <korli@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sun, 13 Dec 2009 12:53:57 +0100

2009/12/12 Matt Madia <mattmadia@xxxxxxxxx>:
> Would this allow the following?
>
>  rm "${driversDir}/dev/net/${driver}"
>  <install wifi firmware>
>  # recreate the driver's symlink.
>  ln -sf "${driversDir}/dev/net/${driver}" "${driversDir}/bin/${driver}"
>

I think "touch ${driversDir}/bin/${driver}" is enough to have the
system reload the driver when it's not used anymore.   Deleting
interfaces to this driver might help to have the network stack unload
driver entries.

Bye,
Jérôme

Other related posts: