#!/bin/sh if grep -sqo rdrand /proc/cpuinfo; then echo "{ \"rdrand\" : true }" else echo "{ \"rdrand\" : false }" fi