File tree Expand file tree Collapse file tree 2 files changed +5
-185
lines changed
Oracle Scripts/Informatica Expand file tree Collapse file tree 2 files changed +5
-185
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ INFO_STOP_TIMEOUT=300
36
36
LOCK_FILE=' var/lock/subsys/' $SUBSYS
37
37
START_LOG=$LOG_PATH /$SUBSYS -start.log
38
38
STOP_LOG=$LOG_PATH /$SUBSYS -stop.log
39
+ LSOF_PATH=/usr/sbin/lsof
39
40
# source the functions library
40
41
# -----------------------
41
42
if [ -f /etc/rc.d/init.d/functions ]; then
44
45
# -----------------------
45
46
46
47
# check paths and permissions
47
- if [ ! -f ' $INFOSERVICE/infraservice .sh' ] ; then
48
+ if [ ! -f $INFOSERVICE /infaservice .sh ] ; then
48
49
echo ' '
49
- echo -n ' **infaservice.sh file not found at $INFOSERVICE/infraservice.sh'
50
+ echo -n " **infaservice.sh file not found at $INFOSERVICE /infraservice.sh"
50
51
echo_failure
51
52
echo ' '
52
53
fi
@@ -105,7 +106,7 @@ check_permissions() {
105
106
abort=1
106
107
fi
107
108
else
108
- if [! -w $STOP_LOG ]; then
109
+ if [ ! -w $STOP_LOG ]; then
109
110
echo ' '
110
111
echo ' ** Log file ' $STOP_LOG ' is not writable by ' $( whoami) ' **'
111
112
echo_failure
@@ -169,7 +170,7 @@ status () {
169
170
}
170
171
171
172
172
- case $i in
173
+ case $1 in
173
174
status)
174
175
status
175
176
;;
You can’t perform that action at this time.
0 commit comments