psql profile.d script account control
This commit is contained in:
parent
73f35ddf96
commit
c155facc96
1 changed files with 3 additions and 1 deletions
|
@ -1,5 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
if [[ $USER != "awips" && $USER != 'root' ]]; then
|
||||||
|
return
|
||||||
|
fi
|
||||||
# Is awips2-psql Installed?
|
# Is awips2-psql Installed?
|
||||||
rpm -q awips2-psql > /dev/null 2>&1
|
rpm -q awips2-psql > /dev/null 2>&1
|
||||||
RC=$?
|
RC=$?
|
||||||
|
|
Loading…
Add table
Reference in a new issue