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
f9c2680e
Commit
f9c2680e
authored
Nov 10, 2008
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adapted to V4.6
parent
7aede56d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
27 deletions
+6
-27
src/exp/com/src/os_linux/upgrade.sh
src/exp/com/src/os_linux/upgrade.sh
+6
-27
No files found.
src/exp/com/src/os_linux/upgrade.sh
View file @
f9c2680e
#! /bin/bash
#! /bin/bash
#
#
# Proview $Id: upgrade.sh,v 1.1
6 2008-06-26 13:13:41
claes Exp $
# Proview $Id: upgrade.sh,v 1.1
7 2008-11-10 08:00:40
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
...
@@ -27,7 +27,7 @@ let reload__loaddb=4
...
@@ -27,7 +27,7 @@ let reload__loaddb=4
let
pass__continue
=
1
let
pass__continue
=
1
let
pass__execute
=
2
let
pass__execute
=
2
#v44_root="/data1/pwr/x4-4-4/rls_dbg"
#v44_root="/data1/pwr/x4-4-4/rls_dbg"
v4
4_root
=
"/usr/pwr44
"
v4
5_root
=
"/usr/pwr45
"
reload_dumpdb
()
reload_dumpdb
()
{
{
...
@@ -350,13 +350,6 @@ reload_convertge()
...
@@ -350,13 +350,6 @@ reload_convertge()
return
return
fi
fi
echo
""
echo
"!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
echo
"! !"
echo
"! Note ! This pass should not be executed when upgrading from V3.9 !!"
echo
"! !"
echo
"!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
reload_continue
"Pass convert ge graphs"
reload_continue
"Pass convert ge graphs"
# Create a script that dumps each volume
# Create a script that dumps each volume
...
@@ -460,20 +453,12 @@ usage()
...
@@ -460,20 +453,12 @@ usage()
{
{
cat
<<
EOF
cat
<<
EOF
upgrade.sh Upgrade from V4.
4 to V4.5
upgrade.sh Upgrade from V4.
5 to V4.6
Pass
Pass
dumpdb Dump database to textfile
\$
pwrp_db/'volume'.wb_dmp
classvolumes Create loadfiles for classvolumes.
renamedb Rename old databases.
dirvolume Load the directory volume.
loaddb Load dumpfiles.
convertge Convert Ge graphs.
convertge Convert Ge graphs.
compile Compile all plcprograms in the database
createload Create new loadfiles.
createboot Create bootfiles for all nodes in the project.
EOF
EOF
}
}
...
@@ -511,14 +496,14 @@ for db in $tmp; do
...
@@ -511,14 +496,14 @@ for db in $tmp; do
fi
fi
done
done
passes
=
"
dumpdb classvolumes renamedb dirvolume loaddb convertge compile createload createboot
"
passes
=
"
convertge
"
#echo "Pass: $passes"
#echo "Pass: $passes"
echo
""
echo
""
echo
-n
"Enter start pass [
dumpdb
] > "
echo
-n
"Enter start pass [
convertge
] > "
read
start_pass
read
start_pass
if
[
-z
$start_pass
]
;
then
if
[
-z
$start_pass
]
;
then
start_pass
=
"
dumpdb
"
start_pass
=
"
convertge
"
fi
fi
for
cpass
in
$passes
;
do
for
cpass
in
$passes
;
do
...
@@ -531,12 +516,6 @@ done
...
@@ -531,12 +516,6 @@ done
echo
""
echo
""
echo
"-- The upgrade procedure is now accomplished."
echo
"-- The upgrade procedure is now accomplished."
echo
" Please remove the dumpfiles:
\$
pwrp_db/*.wb_dmp*"
echo
" when you are satisfied with the upgrade."
echo
""
echo
"-- Remaining tasks:"
echo
" Build the applications"
echo
" Create packages from the distributor"
echo
""
echo
""
reload_exit
reload_exit
...
...
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