Return to 014.gif.stop CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / elwix / config / etc / uboot / rc.d |
1.1.2.1 ! misho 1: #!/bin/sh ! 2: ! 3: IFACE="gif0" ! 4: ! 5: TUNNEL="172.31.2.1 172.31.2.2" ! 6: ! 7: OPT="mtu 1500" ! 8: IP="10.10.10.1/24 10.10.10.2" ! 9: ! 10: echo "Config GIF-IPoverIP network interface $IFACE ..." ! 11: ifconfig $IFACE create ! 12: ifconfig $IFACE tunnel $TUNNEL ! 13: ifconfig $IFACE inet $IP $OPT up