02_network 259 B

12345678910111213141516
  1. #!/bin/sh
  2. # Copyright (C) 2015 OpenWrt.org
  3. . /lib/functions/uci-defaults.sh
  4. board_config_update
  5. case "$(cat /tmp/sysinfo/board_name)" in
  6. xlnx,zynq-zc702|xlnx,zynq-zed|xlnx,zynq-zybo)
  7. ucidef_set_interface_lan 'eth0'
  8. ;;
  9. esac
  10. board_config_flush
  11. exit 0