Added some changes for WellsFargo
authorAndrew DeFaria <Andrew@DeFaria.com>
Wed, 24 Jul 2019 01:48:28 +0000 (18:48 -0700)
committerAndrew DeFaria <Andrew@DeFaria.com>
Wed, 24 Jul 2019 01:48:28 +0000 (18:48 -0700)
rc/client_scripts/GD [changed mode: 0755->0644]
rc/client_scripts/WellsFargo [new file with mode: 0755]
rc/functions
rc/system

old mode 100755 (executable)
new mode 100644 (file)
diff --git a/rc/client_scripts/WellsFargo b/rc/client_scripts/WellsFargo
new file mode 100755 (executable)
index 0000000..852a81a
--- /dev/null
@@ -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
index ec2f311..28135c7 100644 (file)
@@ -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
index d188ad2..a43a36a 100644 (file)
--- 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