Can you restart nmbd after NetInfo "resets"?

rharder

Do not read this sign.
So when I unplug my laptop from a network, nmbd dies and so does Samba. No big deal. But when I plug myself back in, nmbd doesn't start up again (of course) and so: no Samba.

Does anyone know how to hook in to when NetInfo resets itself or something to then restart nmbd? I guess I could "tail -f" the system log...

-Rob
 
The script /System/Library/SystemConfiguration/Kicker.bundle/Resources/restart-NetInfo is used to restart netinfo, so maybe adding it there would work? Unfortunately, this file may be overwritten on updates...
 
Back
Top