#!/system/flashtool/sh

if [ -e /data/local/tmp/kernel ]
then
	export KERNELFILE=/data/local/tmp/kernel
else
	export KERNELFILE=/system/kernel/default
fi

if [ -e $KERNELFILE ]
then
	RES=$(cat $KERNELFILE|grep $1|cut -d "=" -f 2)
	if [ -z "$RES" ]
	then
		echo notfound
	else
		echo $RES
	fi
else
	echo notfound
fi