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
1feee67049
commit
de5d466b68
@ -1608,8 +1608,8 @@ while test $# -gt 0; do
|
|||||||
;;
|
;;
|
||||||
-s)
|
-s)
|
||||||
if test $# -gt 0; then
|
if test $# -gt 0; then
|
||||||
realm
|
realm < /dev/null > /dev/null 2>&1
|
||||||
if [ "$?" = "0" ]
|
if [ "$?" = "0" ]
|
||||||
then
|
then
|
||||||
sudo realm discover
|
sudo realm discover
|
||||||
exit
|
exit
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user