02_network 359 B

1234567891011121314151617181920
  1. . /lib/functions/system.sh
  2. . /lib/functions/uci-defaults.sh
  3. board_config_update
  4. case "$(board_name)" in
  5. traverse,ls1043v)
  6. ucidef_set_interface_lan "eth0 eth1 eth2 eth3"
  7. ucidef_set_interface_wan "eth4"
  8. ;;
  9. traverse,ls1043s)
  10. ucidef_set_interface_lan "eth0 eth1 eth2 eth3 eth6"
  11. ucidef_set_interface_wan "eth4"
  12. ;;
  13. esac
  14. board_config_flush
  15. exit 0