Do not show initialization screen when in gateway + unconfigured LAN mode
Migrated from: https://tracker.clearos.com/view.php?id=6451
Reported by: Peter Baldwin
This scenario occurred on a customer box:
"The mode of the box was set to "gateway", but only the one external/WAN interface was configured. There's a second LAN interface, but it's sitting there unconfigured. The Samba system doesn't bind/listen on the WAN interface, and since there's no LAN interface defined, it refuses to start up."
Samba should not show the initialization screen in this scenario, but instead should show a helpful warning message.
Developer comment:
I don't think the bug is correct as Samba currently binds to all interfaces, but it will probably change in the future, in which case the bug will become correct.