From 776de2306f0b735deff2d7049237d88dfad31fd7 Mon Sep 17 00:00:00 2001 From: Andrew DeFaria Date: Tue, 23 Jul 2019 18:48:28 -0700 Subject: [PATCH] Added some changes for WellsFargo --- rc/client_scripts/GD | 0 rc/client_scripts/WellsFargo | 47 ++++++++++++++++++++++++++++++++++++ rc/functions | 2 +- rc/system | 27 ++++++--------------- 4 files changed, 56 insertions(+), 20 deletions(-) mode change 100755 => 100644 rc/client_scripts/GD create mode 100755 rc/client_scripts/WellsFargo diff --git a/rc/client_scripts/GD b/rc/client_scripts/GD old mode 100755 new mode 100644 diff --git a/rc/client_scripts/WellsFargo b/rc/client_scripts/WellsFargo new file mode 100755 index 0000000..852a81a --- /dev/null +++ b/rc/client_scripts/WellsFargo @@ -0,0 +1,47 @@ +#!/bin/bash +################################################################################ +# +# File: $RCSfile: GD,v $ +# Revision: $Revision: 1.1 $ +# Description: Client specific start up for Wells Fargo +# Author: Andrew@DeFaria.com +# Created: Tue Jul 23 11:46:30 MST 2019 +# Modified: +# Language: bash +# +# (c) Copyright 2000-2005, Andrew@DeFaria.com, all rights reserved. +# +################################################################################ +umask 002 + +export TZ="US/Arizona" + +# Additional paths... +append_to_path "/opt/boksm/bin" +append_to_path "/opt/puppetlabs/bin" + +# Additional LD_LIBRARY_PATHs... +export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/apps/local/lib:/apps/oracle/product/12.2.0.1_64/client/lib:/apps/local/freetds/lib" + +# Oracle +export ORACLE_HOME="/apps/oracle/product/12.2.0.1_64/client" +export TNS_ADMIN="/apps/oracle/product/12.2.0.1_64/client/network/admin" + +# Perl +PERL5LIB="/apps/userpro/lib:/apps/local/lib/perl:/apps/userpro/default/lib/perl" + +# UserPro Setup +export APPROOT="/apps/userpro" +export APPS_ROOT="/apps/userpro/legacy" +export USERPRO_ROOT="/apps/userpro/legacy" +export USERPRO_CONF="/apps/userpro/legacy/conf" +export USERPRO_LOGS="/apps/userpro/logs" + +export DANCER_ENVIRONMENT=$(echo $SYSNAME | tr [:upper:] [:lower:]) + +# Common CDPATHS +CDPATH=$CDPATH:/apps/userpro + +stty kill ^u + +unset TMOUT diff --git a/rc/functions b/rc/functions index ec2f311..28135c7 100644 --- a/rc/functions +++ b/rc/functions @@ -226,7 +226,7 @@ function sj { ps $psopts | $PAGER else for str; do - ps $psopts | grep "$str" | grep -v "grep $str" | grep -v "grep -d skip" + ps $psopts | grep "$str" | grep -ve "grep $str" -e "grep -d skip" -e "grep --color=auto" done fi } # sj diff --git a/rc/system b/rc/system index d188ad2..a43a36a 100644 --- a/rc/system +++ b/rc/system @@ -27,31 +27,20 @@ case "$SYSNAME" in SYSNAME="Venus" ;; - Rdecc1-ldom) - SYSNAME="Server1" + Cdvra99a0983) + SYSNAME="Dev" ;; - Rdebf1-ldom) - SYSNAME="Server2" + Cuvra99a0983) + SYSNAME="UAT" ;; - Rdews-ldom) - SYSNAME="Server3" + Crvra99a0983) + SYSNAME="BCP" ;; - Rdebf1) - SYSNAME="Rdebuild1" + Cpvra99a0983) + SYSNAME="Production" ;; - Rdebf2) - SYSNAME="Rdebuild2" - ;; - - Rdebf3) - SYSNAME="Rdebuild3" - ;; - - Rdebf4) - SYSNAME="Rdebuild4" - ;; esac -- 2.17.1