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
3108810afd
commit
b262be1035
@ -1048,7 +1048,7 @@ else
|
|||||||
sudo realm discover
|
sudo realm discover
|
||||||
exit
|
exit
|
||||||
else
|
else
|
||||||
if [ "$1" = "-ou" ]
|
if [ "$1" = "-o" ]
|
||||||
then
|
then
|
||||||
desktop=$( sudo apt list --installed | grep -i desktop | grep -i ubuntu | cut -d '-' -f1 | grep -i desktop )
|
desktop=$( sudo apt list --installed | grep -i desktop | grep -i ubuntu | cut -d '-' -f1 | grep -i desktop )
|
||||||
rasp=$( lsb_release -a | grep -i Distributor | awk '{print $3}' )
|
rasp=$( lsb_release -a | grep -i Distributor | awk '{print $3}' )
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user