Updating regex/grep to match devices on ubuntu 12.04