Return to 014.lagg.stop CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / elwix / config / etc / uboot / rc.d |
elwix 2.2
1: #!/bin/sh 2: 3: IFACE="lagg0" 4: PROTO="lacp" 5: PORTS="fxp0 fxp1" 6: 7: MEDIA="autoselect" 8: 9: OPT="" 10: IP="" 11: 12: echo "Config Ethernet-Link aggregation interface $IFACE ..." 13: ifconfig $IFACE create 14: ifconfig $IFACE laggproto $PROTO 15: for p in $PORTS; do 16: ifconfig $IFACE laggport $p 17: done 18: ifconfig $IFACE inet $IP media $MEDIA $OPT up 19: #dhclient $IFACE