Fix indentation

pull/6/head
Javi Fontan 10 years ago
parent d99a361bd8
commit c4c553679d

@ -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

@ -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 ""

Loading…
Cancel
Save