Quote:
Originally Posted by natemcnutty
Excellent. I took a little different approach. I had been trying to use cat /sys/class/htc_hw/machine_variant | grep -q RHOD50000 to return true, and it kept telling me file does not exist. Instead I created a variable in init called LAYOUT:
LAYOUT=`/bin/grep ".*0*" /sys/class/htc_hw/machine_variant`
and then did a if $LAYOUT="RHOD50000" elseif $LAYOUT="RHOD40000", etc.
|
Awesome dood. so for now we have an OFFICIAL nand rootfs. Thanks a lot..