02_network 236 B

12345678910111213141516171819
  1. #!/bin/sh
  2. #
  3. # Copyright (C) 2015 OpenWrt.org
  4. #
  5. . /lib/arc.sh
  6. . /lib/functions/uci-defaults.sh
  7. board_config_update
  8. case "$( arc_board_name )" in
  9. "arc-sdp"*)
  10. ucidef_set_interface_lan "eth0" "dhcp"
  11. ;;
  12. esac
  13. board_config_flush
  14. exit 0