document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. #!/bin/bash
  2. RPiRev = `cat /proc/cpuinfo |grep  Revision | cut -f 2 -d \' \'`
  3. case $RPiRev in
  4. 0002)
  5.      Message="Your Raspberry Pi Model B rev.1 with 256MB RAM Released 2012 Q1"
  6.     ;;
  7. 0003)
  8.      Message="Your Raspberry Pi Model B rev.1 with 256MB RAM Released 2012 Q3"
  9.     ;;
  10. 0004)
  11.      Message="Your Raspberry Pi Model B rev.2 with 256MB RAM Released 2012 Q4 Manufactured by Sony"
  12.     ;;
  13. 0005)
  14.      Message="Your Raspberry Pi Model B rev.2 with 256MB RAM Released 2012 Q4 Manufactured by Qisda"
  15.     ;;
  16. 0006)
  17.      Message="Your Raspberry Pi Model B rev.2 with 256MB RAM Released 2012 Q4 manufactured by Egoman"
  18.     ;;
  19. 0007)
  20.      Message="Your Raspberry Pi Model A rev.2 with 256MB RAM Released 2013 Q1 manufactured by Egoman"
  21.     ;;
  22. 0008)
  23.      Message="Your Raspberry Pi Model A rev.2 with 256MB RAM"
  24.     ;;
  25. 0009)
  26.     Message="Your Raspberry Pi Model A rev.2 with 256MB RAM Released 2013 Q1 manufactured by Qisda"
  27.     ;;
  28. 000d)
  29.     Message="Your Raspberry Pi Model B rev.2 with 512MB RAM Released 2012 Q4 manufactured by Egoman"
  30.   ;;
  31. 000e)
  32.      Message="Your Raspberry Pi Model B rev. 2 with 512MB RAM Released 2012 Q4 manufactured by Sony"
  33.   ;;
  34. 000f)
  35.      Message="Your Raspberry Pi Model B rev. 2 with 512MB RAM Released 2012 Q4 manufactured by Qisda"
  36.     ;;
  37. *)
  38.   Message="Unknown model of Raspberry Pi"
  39.   ;;
  40. esac
  41. echo $Message
');