Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
c525f75f
Commit
c525f75f
authored
16 years ago
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
V4.5.0
parent
27dd681b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
src/exp/com/src/os_linux/upgrade.sh
src/exp/com/src/os_linux/upgrade.sh
+10
-10
No files found.
src/exp/com/src/os_linux/upgrade.sh
View file @
c525f75f
#! /bin/bash
#! /bin/bash
#
#
# Proview $Id: upgrade.sh,v 1.1
2 2007-01-23 13:16:56
claes Exp $
# Proview $Id: upgrade.sh,v 1.1
3 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] > "
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment