02_network 275 B

123456789101112131415161718192021222324
  1. #!/bin/sh
  2. #
  3. # Copyright (C) 2014-2015 OpenWrt.org
  4. #
  5. . /lib/functions/uci-defaults.sh
  6. . /lib/netlogic.sh
  7. board_config_update
  8. case "$board_name" in
  9. "xlp-evp" |\
  10. "xlp-fvp" |\
  11. "xlp-gvp" |\
  12. "xlp-svp" |\
  13. *)
  14. ucidef_set_interface_lan "eth0"
  15. ;;
  16. esac
  17. board_config_flush
  18. exit 0