parallaxinc/PropellerIDE — pull request #8 by Gadgetoid (2014-12-05 00:18:28+00:00)
Title: Made Raspberry Pi detection more robust

Previous method returned hostname, which could easily be different from "raspberrypi" if changed by the user, suggested change relies on looking in /etc/os-release for ID=raspbian which is hostname agnostic.

This change has been tested on Raspbian and OSX Yosemite.