Diff for /elwix/config/etc/default/rc.initial between versions 1.1.2.3 and 1.1.2.4

version 1.1.2.3, 2013/01/27 23:40:37 version 1.1.2.4, 2013/01/28 00:40:22
Line 44  menu() Line 44  menu()
                         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
                         read -p " +IPv6 address/mask of interface $iface [auto|x:x:x::x/x]: " ip6                          read -p " +IPv6 address/mask of interface $iface [auto|x:x:x::x/x]: " ip6
                        if [ X"$mgmt" = X"yes" -o X"$mgmt" = "y" ]; then                        if [ X"$mgmt" = X"yes" -o X"$mgmt" = X"y" ]; then
                                 cfexec sh -c "echo $iface >/etc/mylan"                                  cfexec sh -c "echo $iface >/etc/mylan"
                         fi                          fi
                         ifconfig $iface description "$name" up                          ifconfig $iface description "$name" up
Line 83  menu() Line 83  menu()
                         echo                          echo
                         echo "Restore factory defaults ..."                          echo "Restore factory defaults ..."
                         read -p " +Are you sure for restore and clear all changes? [no|yes]: " ans                          read -p " +Are you sure for restore and clear all changes? [no|yes]: " ans
                        if [ X"$ans" = X"yes" -o X"$ans" = "y" ]; then                        if [ X"$ans" = X"yes" -o X"$ans" = X"y" ]; then
                                 cfexec rm -rf /elwix/etc/rc.S /elwix/etc/rc.s /elwix/etc/rc.t                                  cfexec rm -rf /elwix/etc/rc.S /elwix/etc/rc.s /elwix/etc/rc.t
                                 cfexec tar -xzpf /elwix/altroot/backup/.var.tgz -C /elwix/altroot                                  cfexec tar -xzpf /elwix/altroot/backup/.var.tgz -C /elwix/altroot
                                 cfexec tar -xzpf /elwix/altroot/backup/.etc.tgz -C /elwix                                  cfexec tar -xzpf /elwix/altroot/backup/.etc.tgz -C /elwix

Removed from v.1.1.2.3  
changed lines
  Added in v.1.1.2.4


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>