02_network 271 B

1234567891011121314151617181920212223
  1. #
  2. # Copyright (C) 2014-2015 OpenWrt.org
  3. #
  4. . /lib/functions/uci-defaults.sh
  5. board_config_update
  6. case "$(board_name)" in
  7. atmel,sama5d3-xplained)
  8. ucidef_set_interfaces_lan_wan "eth0" "eth1"
  9. ;;
  10. *)
  11. ucidef_set_interface_lan "eth0"
  12. ;;
  13. esac
  14. board_config_flush
  15. exit 0