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:20:23 +0000 (23:20 +0200)
commit889638c8bf3c88d0acae2b756aa97d6160579b35
treec3169d92cd075c97b48ab5d7827384317f82dc56
parentb67b316dd18f8aca13dd90613b64190470678567
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