check_sys_pass()
{
######################################################
# This will read a .file for the system password
# or prompt for a password
######################################################
export PWFILE=.syspasswd
if [ ! -f $PWFILE ]; then
  echo "Please enter the SYS password on the primary database:  $PRIMARY_DB on $PRIMARY_HOST :";
  read sys_pass
else
  sys_pass=$(cat $PWFILE |head -1)
fi
}

Ready for Action?

LET'S GO!
Copyright 2024 IT Remote dot com
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram