02_network 209 B

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