mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2025-02-24 08:25:03 +00:00
Ubiquiti UniFi Security Gateway (USG) is largely identical to the EdgeRouter Lite (ERLite-3) apart from a different board ID and two dome leds. Device data (from WikiDev): CPU: Cavium Octeon Plus CN5020 @500MHz 2-cores Ethernet: 3x Atheros AR8035-A GbE PHY's Flash: On-board 4MB Flash Storage: Internal 3.8GB USB Flash (Kingston ID) drive w/ 1.5GB free for use occupies single internal USB port. Serial: 1x RJ45 port on front panel. 115200, 8N1 Buttons: 1x Reset Flash instructions are identical to EdgeRouter Lite. Signed-off-by: Clemens Hopfer <openwrt@wireloss.net>
28 lines
459 B
Plaintext
28 lines
459 B
Plaintext
#
|
|
# Copyright (C) 2014-2015 OpenWrt.org
|
|
#
|
|
|
|
. /lib/functions/uci-defaults.sh
|
|
|
|
board_config_update
|
|
|
|
case "$(board_name)" in
|
|
itus,shield-router|\
|
|
ubnt,usg)
|
|
ucidef_set_interfaces_lan_wan "eth1 eth2" "eth0"
|
|
;;
|
|
ubnt,edgerouter-4)
|
|
ucidef_set_interfaces_lan_wan "lan1 lan2 lan3" "lan0"
|
|
;;
|
|
ubnt,edgerouter-6p)
|
|
ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4 lan5" "lan0"
|
|
;;
|
|
*)
|
|
ucidef_set_interfaces_lan_wan "eth0" "eth1"
|
|
;;
|
|
esac
|
|
|
|
board_config_flush
|
|
|
|
exit 0
|