diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2018-06-13 17:49:58 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-06-13 17:49:58 +0000 |
commit | 6222f364a26e3e901eaa472ad0e7fd18da7c588b (patch) | |
tree | a7e34d3c03e8a53017ef364cc074b0e28474296a | |
parent | af1f5ca38f8e0dffe3f2640018fedf95cb63131c (diff) | |
download | mkinitfs-6222f364a26e3e901eaa472ad0e7fd18da7c588b.tar.bz2 mkinitfs-6222f364a26e3e901eaa472ad0e7fd18da7c588b.tar.xz |
init: fix comment for ip_choose_if
-rwxr-xr-x | initramfs-init.in | 2 |
1 files changed, 1 insertions, 1 deletions
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 |