aredn/files/usr/local/bin/get_hardwaretype

14 lines
340 B
Bash
Executable File

#!/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
boardtype=$(ar71xx_board_name)
echo "$boardtype"