View Single Post
  #384 (permalink)  
Old 10-29-2010, 02:49 AM
[ACL]'s Avatar
[ACL]
VIP Member
Offline
Location: NY
 
Join Date: Feb 2010
Posts: 1,534
Reputation: 6350
[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community
Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
Re: NAND Boot Testing - Auto-brightness Testing: 10-28. Automatic Keyboard Detection!

Quote:
Originally Posted by natemcnutty View Post
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..
__________________
Reply With Quote