mirror of
https://github.com/PierreGode/Linux-Active-Directory-join-script.git
synced 2025-12-21 16:50:13 +01:00
Update ADconnection.sh
This commit is contained in:
parent
e8f4f1b276
commit
75739588a2
@ -432,7 +432,7 @@ echo "Checking if it is a Desktop or server"
|
|||||||
if [ "$desktop" = "desktop" ] < /dev/null > /dev/null 2>&1
|
if [ "$desktop" = "desktop" ] < /dev/null > /dev/null 2>&1
|
||||||
then
|
then
|
||||||
echo "Ubuntu Desktop detected"
|
echo "Ubuntu Desktop detected"
|
||||||
echo ""
|
UbuntU
|
||||||
else
|
else
|
||||||
echo " this seems to be a server, swithching to server mode"
|
echo " this seems to be a server, swithching to server mode"
|
||||||
ubuntuserver14
|
ubuntuserver14
|
||||||
@ -456,6 +456,8 @@ fi
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
}
|
||||||
|
UbuntU(){
|
||||||
export HOSTNAME
|
export HOSTNAME
|
||||||
myhost=$( hostname )
|
myhost=$( hostname )
|
||||||
clear
|
clear
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user