#!/bin/sh ID=$(dmesg | grep "panel") case ${ID} in *newvision*) ID="v1" ;; *sitronix*) ID="v2" ;; *) ID="Unknown" ;; esac if [ -n "${ID}" ] then echo "PANEL VERSION: ${ID}" fi