[BACK]Return to upgrade.sh CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / distrib / miniroot

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/distrib/miniroot/upgrade.sh between version 1.19 and 1.20

version 1.19, 1999/11/02 06:11:25 version 1.20, 2000/11/17 17:36:39
Line 58  MODE="upgrade"
Line 58  MODE="upgrade"
 #       md_welcome_banner()     - display friendly message  #       md_welcome_banner()     - display friendly message
 #       md_not_going_to_install() - display friendly message  #       md_not_going_to_install() - display friendly message
 #       md_congrats()           - display friendly message  #       md_congrats()           - display friendly message
   #       md_set_term             - set terminal type
   #       md_makerootwritable     - what it says
   # optional:
   #       md_upgrade_prep_needed  - variable: set if you md_prepare_upgrade()
   #       md_prepare_upgrade      - any machine dependent preparations
   
 # we need to make sure .'s below work if this directory is not in $PATH  # we need to make sure .'s below work if this directory is not in $PATH
 # dirname may not be available but expr is  # dirname may not be available but expr is
Line 282  check_fs /tmp/fstab.shadow
Line 287  check_fs /tmp/fstab.shadow
 # Mount filesystems.  # Mount filesystems.
 mount_fs /tmp/fstab.shadow  mount_fs /tmp/fstab.shadow
   
   # Machine dependent preparation.
   test "$md_upgrade_prep_needed" && {
           md_prepare_upgrade || {
                   cat << 'EOF'
   The preparations for upgrading your machine did not complete successfully.
   
   EOF
                   echo -n "Continue anyway? [n]"
                   getresp "n"
                   case "$resp" in
                           y*|Y*)
                                   ;;
                           *)
                                   exit 1
                                   ;;
                   esac
           }
   }
   
   
 echo -n "Are the upgrade sets on one of your normally mounted (local) filesystems? [y] "  echo -n "Are the upgrade sets on one of your normally mounted (local) filesystems? [y] "
 getresp "y"  getresp "y"
 case "$resp" in  case "$resp" in

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.20

CVSweb <webmaster@jp.NetBSD.org>