Skip to content
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.

Commit

Permalink
Fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
jfontan committed Sep 5, 2014
1 parent d99a361 commit c4c5536
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions base_deb/etc/one-context.d/00-network
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ iface $DEV inet static
EOT

if [ -n "$GATEWAY" ]; then
echo " gateway $GATEWAY"
echo " gateway $GATEWAY"
fi

echo ""
Expand All @@ -123,7 +123,7 @@ iface $DEV inet6 static
EOT

if [ -n "$GATEWAY6" ]; then
echo " gateway $GATEWAY6"
echo " gateway $GATEWAY6"
fi

echo ""
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions base_rpm/etc/one-context.d/00-network
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ IPADDR=$IP
EOT

if [ -n "$GATEWAY" ]; then
echo "GATEWAY=$GATEWAY"
echo "GATEWAY=$GATEWAY"
fi

echo ""
Expand All @@ -120,7 +120,7 @@ IPV6ADDR=$IPV6
EOT

if [ -n "$GATEWAY6" ]; then
echo "IPV6_DEFAULTGW=$GATEWAY6"
echo "IPV6_DEFAULTGW=$GATEWAY6"
fi

echo ""
Expand Down

0 comments on commit c4c5536

Please sign in to comment.