Diff for /elwix/config/etc/default/rc.d/014.gre.stop between versions 1.1 and 1.2

version 1.1, 2011/07/05 23:43:00 version 1.2, 2017/02/13 16:52:47
Line 4  IFACE="gre0" Line 4  IFACE="gre0"
   
 TUNNEL="172.31.2.1 172.31.2.2"  TUNNEL="172.31.2.1 172.31.2.2"
   
OPT=""OPTS=""
 IP="10.10.10.1/24 10.10.10.2"  IP="10.10.10.1/24 10.10.10.2"
   
   [ -z "$IFACE" ] && exit
   
 echo "Config GRE network interface $IFACE ..."  echo "Config GRE network interface $IFACE ..."
ifconfig $IFACE create
 ifconfig $IFACE create || exit
 ifconfig $IFACE tunnel $TUNNEL  ifconfig $IFACE tunnel $TUNNEL
ifconfig $IFACE inet $IP $OPT upif [ -n "$IP" ]; then
         ifconfig $IFACE inet $IP
 fi
 ifconfig $IFACE $OPTS up

Removed from v.1.1  
changed lines
  Added in v.1.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>