Quote:
Originally Posted by coolsilver
Works ok on my Rhod500.
Then again you been building for RHOD500, so maybe someone else can confirm.
|
Quote:
Originally Posted by damage_them
new roots is a go on rhod400 it detected it
|
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.