Diff for /elwix/config/etc/default/rc.initial between versions 1.6 and 1.7

version 1.6, 2013/08/07 13:26:31 version 1.7, 2021/03/11 13:59:50
Line 87  menu() Line 87  menu()
                         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" = X"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 -L "Locked by rc.initial for restore factory defaults"
                                cfexec tar -xzpf /elwix/altroot/backup/.var.tgz -C /elwix/altroot                                tar -xzpf /elwix/altroot/backup/.var.tgz -C /elwix/altroot
                                cfexec tar -xzpf /elwix/altroot/backup/.etc.tgz -C /elwix                                tar -xzpf /elwix/altroot/backup/.etc.tgz -C /elwix
                                 cfexec -U
                         fi                          fi
                         ;;                          ;;
                 5)                  5)

Removed from v.1.6  
changed lines
  Added in v.1.7


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