aredn/files/usr/local/bin/get_hardwaretype

13 lines
328 B
Plaintext
Raw Normal View History

#!/bin/sh
#CMLARA: Temporary shell script for ar71xx platform models
#Eventually we will want to to clean this up to a diffrent method
# so that we can combine linksys and other devices into the same
# script. For now we just rely on the OS to help us
. /lib/ar71xx.sh
local boardtype=$(ar71xx_board_name)
echo $boardtype