02_network 219 B

123456789101112131415161718
  1. #
  2. # Copyright (C) 2016 OpenWrt.org
  3. #
  4. . /lib/functions/uci-defaults.sh
  5. board_config_update
  6. case "$(board_name)" in
  7. snps,axs103|\
  8. snps,hsdk)
  9. ucidef_set_interface_lan "eth0" "dhcp"
  10. ;;
  11. esac
  12. board_config_flush
  13. exit 0