summaryrefslogtreecommitdiff
path: root/init.omap3.sh
blob: 997ee034867c52c8901441fbdbc4b09ffd70100c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/system/bin/sh

# Detect the board type
while read c1 c2 c3;
do
    case "$c3" in
        "OMAP3 Devkit8000")
            setprop ro.runtime.device devkit8000
            ;;
        "OMAP3 Beagle Board")
            setprop ro.runtime.device beagleboard
            ;;
        *)
            echo $c1 $c2 $c3;
            ;;
    esac
done < /proc/cpuinfo