forked from freifunk-franken/firmware
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:
parent
decd4ed402
commit
0447d0c709
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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)
|
|
@ -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)
|
|
@ -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)
|
Loading…
Reference in New Issue