Create check.sh

Import to Kconfig original code source.