Commit c525f75f authored by claes's avatar claes

V4.5.0

parent 27dd681b
#! /bin/bash #! /bin/bash
# #
# Proview $Id: upgrade.sh,v 1.12 2007-01-23 13:16:56 claes Exp $ # Proview $Id: upgrade.sh,v 1.13 2008-04-08 12:18:30 claes Exp $
# Copyright (C) 2005 SSAB Oxelsund AB. # Copyright (C) 2005 SSAB Oxelsund AB.
# #
# This program is free software; you can redistribute it and/or # This program is free software; you can redistribute it and/or
...@@ -26,11 +26,12 @@ let reload__loaddb=4 ...@@ -26,11 +26,12 @@ let reload__loaddb=4
let pass__continue=1 let pass__continue=1
let pass__execute=2 let pass__execute=2
v41_root="/data1/pwr/x4-1-3/rls_dbg" #v44_root="/data1/pwr/x4-4-4/rls_dbg"
v44_root="/usr/pwr44"
reload_dumpdb() reload_dumpdb()
{ {
# Dump V4.1.3 databases # Dump V4.4 databases
reload_checkpass "dumpdb" $start_pass reload_checkpass "dumpdb" $start_pass
if [ $pass_status -ne $pass__execute ]; then if [ $pass_status -ne $pass__execute ]; then
...@@ -50,10 +51,10 @@ reload_dumpdb() ...@@ -50,10 +51,10 @@ reload_dumpdb()
dump_file=$pwrp_db/$cdb.wb_dmp dump_file=$pwrp_db/$cdb.wb_dmp
echo "Dumping volume $cdb in $dump_file" echo "Dumping volume $cdb in $dump_file"
# export pwr_load=$v41_root/os_linux/hw_x86/exp/load export pwr_load=$v44_root/os_linux/hw_x86/exp/load
# $v41_root/os_linux/hw_x86/exp/exe/wb_cmd -v $cdb wb dump/out=\"$dump_file\" $v44_root/os_linux/hw_x86/exp/exe/wb_cmd -v $cdb wb dump/out=\"$dump_file\"
# export pwr_load=$pwrb_root/os_linux/hw_x86/exp/load export pwr_load=$pwrb_root/os_linux/hw_x86/exp/load
wb_cmd -v $cdb wb dump/out=\"$dump_file\" # wb_cmd -v $cdb wb dump/out=\"$dump_file\"
done done
} }
...@@ -459,7 +460,7 @@ usage() ...@@ -459,7 +460,7 @@ usage()
{ {
cat << EOF cat << EOF
upgrade.sh Upgrade from V4.2.0 to V4.3.0 upgrade.sh Upgrade from V4.4 to V4.5
Pass Pass
...@@ -468,7 +469,6 @@ usage() ...@@ -468,7 +469,6 @@ usage()
classvolumes Create loadfiles for classvolumes. classvolumes Create loadfiles for classvolumes.
renamedb Rename old databases. renamedb Rename old databases.
dirvolume Load the directory volume. dirvolume Load the directory volume.
cnvdump Convert dumpfiles.
loaddb Load dumpfiles. loaddb Load dumpfiles.
compile Compile all plcprograms in the database compile Compile all plcprograms in the database
createload Create new loadfiles. createload Create new loadfiles.
...@@ -510,7 +510,7 @@ for db in $tmp; do ...@@ -510,7 +510,7 @@ for db in $tmp; do
fi fi
done done
passes="dumpdb classvolumes renamedb dirvolume cnvdump loaddb compile createload createboot" passes="dumpdb classvolumes renamedb dirvolume loaddb compile createload createboot"
#echo "Pass: $passes" #echo "Pass: $passes"
echo "" echo ""
echo -n "Enter start pass [dumpdb] > " echo -n "Enter start pass [dumpdb] > "
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment