multiple functions in a if statement: trying to include two different
commands
please be patient as i am very new to this. I am trying to write an if
statement for these two lines. in my script to save key strokes this is
what i have. can anyone point me to how a statement would look like
recovery= adb reboot recovery
fastboot= adb reboot-bootloader
if [ $recovery = adb reboot recovery ] then echo "adb reboot recovery" fi
and also the same for fastboot. thank you very much in advance.
No comments:
Post a Comment