Update ADconnection.sh

This commit is contained in:
PierreGode 2018-08-24 13:11:22 +02:00 committed by GitHub
parent ff3ccb8831
commit 1feee67049
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 ""