Using an ifup.d hook to start nmbd if it's not already running (and does nothing if nmbd is already running) would be a better solution. An ifdown.d hook is not necessary as nmbd exits by itself when an interface disappears.
Using an ifup.d hook to start nmbd if it's not already running (and does nothing if nmbd is already running) would be a better solution. An ifdown.d hook is not necessary as nmbd exits by itself when an interface disappears.