home: hub: mkinitfs

Download patch

ref: 6222f364a26e3e901eaa472ad0e7fd18da7c588b
parent: af1f5ca38f8e0dffe3f2640018fedf95cb63131c
author: Natanael Copa <ncopa@alpinelinux.org>
date: Wed Jun 13 12:49:58 CDT 2018

init: fix comment for ip_choose_if

--- a/initramfs-init.in
+++ b/initramfs-init.in
@@ -142,7 +142,7 @@
 }
 
 # 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