02_network 216 B

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