android_device_htc_leo/releasetools/checksys.sh

11 lines
164 B
Bash
Raw Permalink Normal View History

#!/sbin/sh
# checksys.sh
output=`grep -i "clk" /proc/cmdline`
if [ -n "$output" ]
then
echo "clk=true" > /tmp/nfo.prop
else
echo "clk=null" > /tmp/nfo.prop
fi