small update

This commit is contained in:
Pierre Gode 2019-04-29 13:47:52 +02:00
parent cca8f86b26
commit db2d3dbe05

View File

@ -1454,12 +1454,13 @@ exit
fi
exit
}
############################## Chech User ######################################3
checkuser(){
clear
export HOSTNAME
myhost=$( hostname | cut -d '.' -f1 )
DOMAIN=$(realm discover | grep -i realm.name | awk '{print $2}' | tr "[:upper:]" "[:lower:]")
if [ -z $2 ]
if [ -z "$2 $3" ]
then
if [ -d /home/"$DOMAIN" ]
then