Sergey Popovich cdad662745 initrds: ifup: Do not apply any config if NETAUTO=none
There are three types of value accepted by NETAUTO:

    1) "dhcp" for automatic network settings via DHCP
    2) "up" to bring link up, wait for IPv6 tentative and link up
       operstate
    3) anything else: apply static configuration, wait for IPv6
       tentative and link up operstate

Note that empty ("") value is subset of 3) and we only skip link up
operstate monitoring for it since commit 3e89468cd0
("Don't require link-up on ma1 if NETAUTO is not specified.").

Add fourth case with NETAUTO=none to skip all but NETHW (hardware
address) from boot-config file and support different management
adapter config methods (e.g. Debian network config system).

This also fixes incorrect "return" statement usage outside of function
introduced with commit 3e89468cd0
("Don't require link-up on ma1 if NETAUTO is not specified.") and adds
newline before wait_link_up() to make code more readable.

Signed-off-by: Sergey Popovich <sergey.popovich@ordnance.co>
2018-09-26 11:08:15 +03:00
2018-07-19 13:30:42 -07:00
2018-06-14 10:47:25 +02:00
2017-08-22 16:06:04 -07:00
2018-09-13 11:01:16 -07:00
2016-02-12 18:49:46 -08:00
2016-05-02 14:00:13 -07:00
2015-12-15 18:37:40 -08:00
2016-04-28 17:03:51 -07:00

Open Network Linux

Check out the main/offical website at http://opennetlinux.org .

Open Network Linux (ONL) is a Linux distribution for bare metal switches. ONL builds an ONIE-compatible installer and a switch image which contains a complete Debian distribution with added drivers and configuration for running on bare metal switches.

Software License

Licenses for the software are described under the LICENSE file. Download or use of the software implies consent.

Documentation

Please see the docs directory for additional information.

![alt text] (https://scan.coverity.com/projects/8655/badge.svg "Coverity Scan Build Status")

Description
No description provided
Readme EPL-1.0 98 MiB
Languages
C 92.6%
Python 4.5%
Makefile 2.1%
Shell 0.7%
Dockerfile 0.1%