Created
October 17, 2012 11:52
-
-
Save StanAngeloff/3905135 to your computer and use it in GitHub Desktop.
Get the product name, useful if you want to verify a piece of code is executed under VirtualBox.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SYSTEM_PRODUCT_NAME = $(shell cat /sys/devices/virtual/dmi/id/product_name 2>/dev/null ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment