base-files: don't setup network in preinit if failsafe is disabled
authorRafał Miłecki <rafal@milecki.pl>
Mon, 7 Aug 2017 09:09:33 +0000 (11:09 +0200)
committerRafał Miłecki <rafal@milecki.pl>
Wed, 9 Aug 2017 21:18:59 +0000 (23:18 +0200)
commitf41dd327223f9d21f23b481c919337b98d2a9f6e
tree394c610491f25262fb471615071621d79e3ac61a
parent0b7f7606dd509084813571b68ef8bf4f8bfdcee3
base-files: don't setup network in preinit if failsafe is disabled

With failsafe disabled there is no point in early network setup. We
don't send announcement over UDP and there is no way to ssh to the
device.

A side effect of this is avoiding a possibly incorrect network config
(only with failsafe disabled). This problem is related to possible
changes made by user in /etc/config/network.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
package/base-files/files/lib/preinit/10_indicate_preinit