3 au1000_yamonenv_getvar()
10 partition="$( find_mtd_part 'yamon env' )"
11 YAMONENVFILE="$partition" yamonenv "$varname"
16 local line board_name model
28 # both models appear nearly similar: the 'InternetBox' has
29 # the same design but shrinked to 1 PCB and only 1 x miniPCI
30 # for WiFi/ath5k and 1 x miniPCI for CardBus/UMTS, they differ
31 # in BogoMIPS but there are old MeshCubes with 330 Mhz instead
32 # of 400 MHz and no Cube has 'imei' (for UMTS) set in bootloader-env
34 if [ -n "$( au1000_yamonenv_getvar 'imei' )" ]; then
35 board_name='internetbox'
36 model='T-Mobile InternetBox TMD SB1-S'
39 model='4G Systems AccessCube/MeshCube'
48 mkdir -p '/tmp/sysinfo'
49 echo "$board_name" >'/tmp/sysinfo/board_name'
50 echo "$model" >'/tmp/sysinfo/model'
55 local file='/tmp/sysinfo/board_name'
57 [ -e "$file" ] || au1000_detect