mirror of
https://github.com/PierreGode/Linux-Active-Directory-join-script.git
synced 2025-12-21 16:50:13 +01:00
small update
This commit is contained in:
parent
cca8f86b26
commit
db2d3dbe05
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user