diff --git a/base_deb/etc/one-context.d/00-network b/base_deb/etc/one-context.d/00-network index f4a9161..03f9e88 100755 --- a/base_deb/etc/one-context.d/00-network +++ b/base_deb/etc/one-context.d/00-network @@ -109,7 +109,7 @@ iface $DEV inet static EOT if [ -n "$GATEWAY" ]; then - echo " gateway $GATEWAY" + echo " gateway $GATEWAY" fi echo "" @@ -123,7 +123,7 @@ iface $DEV inet6 static EOT if [ -n "$GATEWAY6" ]; then - echo " gateway $GATEWAY6" + echo " gateway $GATEWAY6" fi echo "" @@ -196,9 +196,9 @@ deactivate_network() IFACES=`/sbin/ifquery -la` for i in $IFACES; do - if [ $i != 'lo' ]; then - /sbin/ifdown $i - /sbin/ip addr flush dev $i + if [ $i != 'lo' ]; then + /sbin/ifdown $i + /sbin/ip addr flush dev $i fi done else diff --git a/base_rpm/etc/one-context.d/00-network b/base_rpm/etc/one-context.d/00-network index 807486a..6f5b5c0 100755 --- a/base_rpm/etc/one-context.d/00-network +++ b/base_rpm/etc/one-context.d/00-network @@ -107,7 +107,7 @@ IPADDR=$IP EOT if [ -n "$GATEWAY" ]; then - echo "GATEWAY=$GATEWAY" + echo "GATEWAY=$GATEWAY" fi echo "" @@ -120,7 +120,7 @@ IPV6ADDR=$IPV6 EOT if [ -n "$GATEWAY6" ]; then - echo "IPV6_DEFAULTGW=$GATEWAY6" + echo "IPV6_DEFAULTGW=$GATEWAY6" fi echo ""