mirror of
https://github.com/PierreGode/Linux-Active-Directory-join-script.git
synced 2025-12-21 08:50:12 +01:00
Update ADconnection.sh
This commit is contained in:
parent
ff3ccb8831
commit
1feee67049
@ -1608,12 +1608,14 @@ while test $# -gt 0; do
|
||||
;;
|
||||
-s)
|
||||
if test $# -gt 0; then
|
||||
if [ -f /etc/sssd ]
|
||||
realm
|
||||
if [ "$?" = "0" ]
|
||||
then
|
||||
sudo realm discover
|
||||
exit
|
||||
else
|
||||
echo "realmd is not installed"
|
||||
exit
|
||||
fi
|
||||
else
|
||||
echo ""
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user