mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-07-24 14:06:59 +08:00

[mac80211] 5b29614 mac80211: another fix for the sta connection monitor 1ed6eb1 mac80211: backport sched_set_fifo_low cba4120 mac80211: add support for specifying a per-device scan list e0d482f rt2x00: mt7620: differentiate based on SoC's CHIP_VER [package] amd64-microcode/intel-microcode/linux-firmware: update version
25 lines
369 B
Bash
Executable File
25 lines
369 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# Copyright (C) 2014-2015 OpenWrt.org
|
|
#
|
|
|
|
. /lib/functions/uci-defaults.sh
|
|
|
|
board_config_update
|
|
|
|
case "$(board_name)" in
|
|
itus,shield-router)
|
|
ucidef_set_interfaces_lan_wan "eth1 eth2" "eth0"
|
|
;;
|
|
ubnt,edgerouter-4)
|
|
ucidef_set_interfaces_lan_wan "lan1 lan2 lan3" "lan0"
|
|
;;
|
|
*)
|
|
ucidef_set_interfaces_lan_wan "eth0" "eth1"
|
|
;;
|
|
esac
|
|
|
|
board_config_flush
|
|
|
|
exit 0
|