diff --git a/etc/rc.initial.setlanip b/etc/rc.initial.setlanip index 550fc3981f..75276f3cd3 100755 --- a/etc/rc.initial.setlanip +++ b/etc/rc.initial.setlanip @@ -90,8 +90,9 @@ $count = count($ifdescrs); if ($count > 1) { echo "Available interfaces:\n\n"; $x=1; - foreach($ifdescrs as $iface) { - echo "{$x} - {$iface}\n"; + foreach($ifdescrs as $iface => $ifdescr) { + $realif = $config['interfaces'][$iface]['if']; + echo "{$x} - {$ifdescr} ({$realif})\n"; $x++; } echo "\nEnter the number of the interface you wish to configure: ";