Return to 013.vlan0.stop CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / elwix / config / etc / uboot / rc.d |
1.2 ! misho 1: #!/bin/sh ! 2: ! 3: IFACE="vlan0" ! 4: ! 5: VLAN="1" ! 6: VLANDEV="fxp0" ! 7: ! 8: OPT="" ! 9: IP="192.168.0.1/24" ! 10: ! 11: echo "Config VLAN network interface $IFACE ..." ! 12: ifconfig $IFACE create vlan ${VLAN} vlandev ${VLANDEV} ! 13: ifconfig $IFACE inet $IP ${OPT} up