02_network 355 B

1234567891011121314151617181920
  1. . /lib/functions/system.sh
  2. . /lib/functions/uci-defaults.sh
  3. board_config_update
  4. case "$(board_name)" in
  5. fsl,ls1028a-rdb|\
  6. fsl,ls1028a-rdb-sdboot)
  7. ucidef_set_interfaces_lan_wan "swp0 swp1 swp2 swp3" "eth0"
  8. ;;
  9. traverse,ten64)
  10. ucidef_set_interface_lan "eth0 eth1 eth2 eth3"
  11. ucidef_set_interface_wan "eth6"
  12. ;;
  13. esac
  14. board_config_flush
  15. exit 0