Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
e3-require
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ESS EPICS Environment
wrappers
e3-require
Commits
c1b34130
Commit
c1b34130
authored
16 years ago
by
zimoch
Browse files
Options
Downloads
Patches
Plain Diff
Don't overwrite ORACLE_HOME if already set
parent
00475c6b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!7
Submodule merge
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
App/scripts/iocBootNotify.sh
+5
-3
5 additions, 3 deletions
App/scripts/iocBootNotify.sh
with
5 additions
and
3 deletions
App/scripts/iocBootNotify.sh
+
5
−
3
View file @
c1b34130
...
@@ -8,7 +8,7 @@ if [ "$1" = "-v" ]
...
@@ -8,7 +8,7 @@ if [ "$1" = "-v" ]
then
then
echo
'$Source: /cvs/G/DRV/misc/App/scripts/iocBootNotify.sh,v $'
echo
'$Source: /cvs/G/DRV/misc/App/scripts/iocBootNotify.sh,v $'
echo
'$Author: zimoch $'
echo
'$Author: zimoch $'
echo
'$Date: 200
7/12/07 15:20:19
$'
echo
'$Date: 200
8/04/28 08:01:53
$'
exit
exit
fi
fi
...
@@ -102,12 +102,14 @@ echo "EPICSVER=$EPICSVER"
...
@@ -102,12 +102,14 @@ echo "EPICSVER=$EPICSVER"
echo
"VXWORKSVER=
$VXWORKSVER
"
echo
"VXWORKSVER=
$VXWORKSVER
"
echo
"ETHADDR=
$ETHADDR
"
echo
"ETHADDR=
$ETHADDR
"
if
[
-z
"
$ORACLE_HOME
"
]
;
then
if
[
-d
/usr/oracle-9.2
]
;
then
if
[
-d
/usr/oracle-9.2
]
;
then
export
ORACLE_HOME
=
/usr/oracle-9.2
export
ORACLE_HOME
=
/usr/oracle-9.2
else
else
export
ORACLE_HOME
=
/usr/oracle-8.1.7
export
ORACLE_HOME
=
/usr/oracle-8.1.7
export
LD_LIBRARY_PATH
=
$ORACLE_HOME
/lib:
$LD_LIBRARY_PATH
export
LD_LIBRARY_PATH
=
$ORACLE_HOME
/lib:
$LD_LIBRARY_PATH
fi
fi
fi
$ORACLE_HOME
/bin/sqlplus
-s
gfa_public/pub01@GFAPRD
<<
EOF
&
$ORACLE_HOME
/bin/sqlplus
-s
gfa_public/pub01@GFAPRD
<<
EOF
&
INSERT INTO HOSTS.IOC_BOOTLOG
INSERT INTO HOSTS.IOC_BOOTLOG
...
@@ -120,6 +122,6 @@ VALUES ('$SYSTEM', '$IPADDR', '$PROCNUM', '$DEVICE', '$BOOTPC',
...
@@ -120,6 +122,6 @@ VALUES ('$SYSTEM', '$IPADDR', '$PROCNUM', '$DEVICE', '$BOOTPC',
EXIT
EXIT
EOF
EOF
# $Name: $
# $Name: $
# $Id: iocBootNotify.sh,v 1.1
0
200
7/12/07 15:20:19
zimoch Exp $
# $Id: iocBootNotify.sh,v 1.1
1
200
8/04/28 08:01:53
zimoch Exp $
# $Source: /cvs/G/DRV/misc/App/scripts/iocBootNotify.sh,v $
# $Source: /cvs/G/DRV/misc/App/scripts/iocBootNotify.sh,v $
# $Revision: 1.1
0
$
# $Revision: 1.1
1
$
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment