Added checkLinuxType function
Added checkLinuxType function