4cedd1ddb3
In the initial patch which adds HSDK board there were no update of network configuration scripts. Without it by default static IP is set for br-lan and there is no access to internet. This patch fixes the issue. Signed-off-by: Evgeniy Didin <Evgeniy.Didin@synopsys.com> CC: Alexey Brodkin <abrodkin@synopsys.com> CC: Hauke Mehrtens <hauke@hauke-m.de> CC: John Crispin <john@phrozen.org>
18 lines
228 B
Bash
Executable file
18 lines
228 B
Bash
Executable file
#!/bin/sh
|
|
#
|
|
# Copyright (C) 2016 OpenWrt.org
|
|
#
|
|
|
|
. /lib/functions/uci-defaults.sh
|
|
|
|
board_config_update
|
|
|
|
case "$(board_name)" in
|
|
"arc-sdp"*|"arc-hsdk"*)
|
|
ucidef_set_interface_lan "eth0" "dhcp"
|
|
;;
|
|
esac
|
|
|
|
board_config_flush
|
|
|
|
exit 0
|