mirror of
https://github.com/PierreGode/Linux-Active-Directory-join-script.git
synced 2025-12-21 08:50:12 +01:00
Added flag options see: sudo sh ADconnection.sh --help
This commit is contained in:
parent
9d98ccd858
commit
ec6c1445f1
@ -1033,7 +1033,7 @@ else
|
|||||||
if [ "$1" = "-l" ]
|
if [ "$1" = "-l" ]
|
||||||
then
|
then
|
||||||
DATE=`date +%H:%M`
|
DATE=`date +%H:%M`
|
||||||
MENU_FN 2>&1 | sudo tee ADconnection.log
|
MENU_FN 2>&1 | sudo tee adconnection.log
|
||||||
exit
|
exit
|
||||||
else
|
else
|
||||||
if [ "$1" = "-j" ]
|
if [ "$1" = "-j" ]
|
||||||
@ -1044,6 +1044,7 @@ else
|
|||||||
if [ "$1" = "-s" ]
|
if [ "$1" = "-s" ]
|
||||||
then
|
then
|
||||||
sudo realm discover
|
sudo realm discover
|
||||||
|
exit
|
||||||
else
|
else
|
||||||
echo ""
|
echo ""
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user