2016-02-12 08:29:24 +00:00
|
|
|
#!/bin/sh
|
|
|
|
# Copyright (C) 2015 OpenWrt.org
|
|
|
|
|
|
|
|
. /lib/functions/uci-defaults.sh
|
|
|
|
|
|
|
|
board_config_update
|
|
|
|
|
2017-07-09 11:00:36 +00:00
|
|
|
case "$(board_name)" in
|
2018-05-13 19:55:00 +00:00
|
|
|
digilent,zynq-zybo | \
|
2018-08-24 03:40:26 +00:00
|
|
|
digilent,zynq-zybo-z7 | \
|
2018-05-13 19:55:00 +00:00
|
|
|
xlnx,zynq-zc702 | \
|
|
|
|
xlnx,zynq-zed)
|
|
|
|
ucidef_set_interface_lan 'eth0'
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
echo "Unsupported hardware. Network interfaces not intialized"
|
|
|
|
;;
|
2016-02-12 08:29:24 +00:00
|
|
|
esac
|
|
|
|
|
|
|
|
board_config_flush
|
|
|
|
|
|
|
|
exit 0
|