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