Added flag options see: sudo sh ADconnection.sh --help

This commit is contained in:
root 2018-05-21 09:08:12 +02:00
parent 9d98ccd858
commit ec6c1445f1

View File

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