Update detect_machine.sh using that from UFS WM
#2252
Merged
detect_machine.sh using that from UFS WM
#2252