Bug 903913 - [Flatfish]Need script to detect device type for reuse in shared folder