linux/scripts/hdrcheck.sh