diff options
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/rc.initial.setlanip | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/etc/rc.initial.setlanip b/etc/rc.initial.setlanip index 550fc39..75276f3 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: "; |