From 6222f364a26e3e901eaa472ad0e7fd18da7c588b Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Wed, 13 Jun 2018 17:49:58 +0000 Subject: init: fix comment for ip_choose_if --- initramfs-init.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/initramfs-init.in b/initramfs-init.in index df704d5..d6f90a2 100755 --- a/initramfs-init.in +++ b/initramfs-init.in @@ -142,7 +142,7 @@ setup_inittab_console(){ } # determine the default interface to use if ip=dhcp is set -# uses the first "eth" interface. +# uses the first "eth" interface with operstate 'up'. ip_choose_if() { for x in /sys/class/net/eth*; do if grep -iq up $x/operstate;then -- cgit v1.2.3