Commit 6222f364 authored by Natanael Copa's avatar Natanael Copa
Browse files

init: fix comment for ip_choose_if

parent af1f5ca3
......@@ -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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment