projects
/
clearscm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff80d5b
)
Added ulw
author
Andrew DeFaria
<Andrew.DeFaria@webpros.com>
Fri, 14 Jan 2022 19:51:48 +0000
(19:51 +0000)
committer
Andrew DeFaria
<Andrew.DeFaria@webpros.com>
Fri, 14 Jan 2022 19:51:48 +0000
(19:51 +0000)
rc/client_scripts/cPanel
patch
|
blob
|
history
diff --git
a/rc/client_scripts/cPanel
b/rc/client_scripts/cPanel
index
5cbe5a9
..
c6d5bc1
100755
(executable)
--- a/
rc/client_scripts/cPanel
+++ b/
rc/client_scripts/cPanel
@@
-28,6
+28,7
@@
WIZARD="CPanel"
export CDPATH=/usr/local
export ulc=/usr/local/cpanel
export ulp=/usr/local/cp-monitoring-cpanel-plugin
+export ulw=/usr/local/cp-monitoring-whm-plugin
export CPANEL_TEAM='scrum'
#alias ulc="cd /usr/local/cpanel"
@@
-70,3
+71,14
@@
function ulp {
fi
} # ulp
+
+function ulw {
+ path=$1
+
+ if [ -s "$1" ]; then
+ cd $ulw/$path
+ else
+ cd $ulw
+ fi
+} # ulw
+