version 1.1.2.4, 2013/01/28 00:40:22
|
version 1.1.2.5, 2013/01/28 00:56:46
|
Line 40 menu()
|
Line 40 menu()
|
echo |
echo |
echo "Available interfaces: $IFACES" |
echo "Available interfaces: $IFACES" |
read -p " +Which from them: " iface |
read -p " +Which from them: " iface |
|
if [ -z "$iface" ]; then |
|
return 1 |
|
fi |
read -p " +Name of interface $iface []: " name |
read -p " +Name of interface $iface []: " name |
read -p " +Setup management vlan 4093 on $iface? [no|yes]: " mgmt |
read -p " +Setup management vlan 4093 on $iface? [no|yes]: " mgmt |
read -p " +IPv4 address/mask of interface $iface [dhcp|x.x.x.x/x]: " ip4 |
read -p " +IPv4 address/mask of interface $iface [dhcp|x.x.x.x/x]: " ip4 |