psql profile.d script account control

Former-commit-id: cd51f7b6bec42961cfe384381683ae382919f490 [formerly c155facc96]
Former-commit-id: 08d6e0eaf0
This commit is contained in:
mjames-upc 2015-03-13 15:17:13 -06:00
parent 2caad5d9a7
commit 8f335571ec

View file

@ -1,5 +1,7 @@
#!/bin/bash
if [[ $USER != "awips" && $USER != 'root' ]]; then
return
fi
# Is awips2-psql Installed?
rpm -q awips2-psql > /dev/null 2>&1
RC=$?