fff-boardname: introduce new ubnt boards

Signed-off-by: Tim Niemeyer <tim@tn-x.org>
Reviewed-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
Tim Niemeyer 2018-03-03 19:40:34 +01:00 committed by Adrian Schmutzler
parent decd4ed402
commit 0447d0c709
5 changed files with 34 additions and 1 deletions

View File

@ -1,7 +1,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=fff-boardname
PKG_VERSION:=4
PKG_VERSION:=5
PKG_RELEASE:=1
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)

View File

@ -34,12 +34,15 @@ case "$BOARD" in
;;
bullet-m)
BOARD=ubnt-bullet-m
grep -i "Pico" /var/sysinfo/model && BOARD=ubnt-pico-m
grep -i "Loco" /var/sysinfo/model && BOARD=ubnt-loco-m
;;
unifi)
BOARD=ubnt-unifi
;;
loco-m-xw)
BOARD=ubnt-loco-m-xw
grep -i "Power" /var/sysinfo/model && BOARD=ubnt-power-m-xw
;;
unifiac-lite)
BOARD=ubnt-unifiac-lite

View File

@ -0,0 +1,10 @@
WANDEV=eth0
SWITCHDEV=eth0
CLIENT_PORTS=""
WAN_PORTS=""
BATMAN_PORTS=""
ONE_PORT="YES"
. /etc/network.mode
ROUTERMAC=$(cat /sys/class/ieee80211/phy0/macaddress)

View File

@ -0,0 +1,10 @@
WANDEV=eth0
SWITCHDEV=eth0
CLIENT_PORTS=""
WAN_PORTS=""
BATMAN_PORTS=""
ONE_PORT="YES"
. /etc/network.mode
ROUTERMAC=$(cat /sys/class/ieee80211/phy0/macaddress)

View File

@ -0,0 +1,10 @@
WANDEV=eth0
SWITCHDEV=eth0
CLIENT_PORTS=""
WAN_PORTS=""
BATMAN_PORTS=""
ONE_PORT="YES"
. /etc/network.mode
ROUTERMAC=$(cat /sys/class/ieee80211/phy0/macaddress)