Skip to content
Snippets Groups Projects
Commit 13e3d7ff authored by Matthias Schiffer's avatar Matthias Schiffer
Browse files

gluon-core: add sh file to get model name etc.

parent a2329773
Branches
Tags
No related merge requests found
. /lib/functions.sh
# This must be generalized as soon as we support other OpenWRT archs
. /lib/ar71xx.sh
ar71xx_board_detect
local board_name="$AR71XX_BOARD_NAME"
local model="$AR71XX_MODEL"
get_arch() {
echo 'ar71xx'
}
get_board_name() {
echo "$board_name"
}
get_model() {
echo "$model"
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment