From 330685ab7e8cb23c6f739667ee06c675622c1524 Mon Sep 17 00:00:00 2001 From: mitty Date: Wed, 23 Jun 2010 04:43:16 +0000 Subject: [PATCH] * indent loops git-svn-id: https://lab.mitty.jp/svn/lab/trunk@42 7d2118f6-f56c-43e7-95a2-4bb3031d96e7 --- vmware/hotaddbridge | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/vmware/hotaddbridge b/vmware/hotaddbridge index a79fe24..59da5ee 100755 --- a/vmware/hotaddbridge +++ b/vmware/hotaddbridge @@ -10,15 +10,15 @@ echo "Locating Existing Devices" for dev in $(ls /dev/vmnet*); do -echo " Found $dev" + echo " Found $dev" done echo printf "Please enter a device number that does not exist in this list: " read num # Check if it exists if [ -f /dev/vmnet$num ];then -echo "/dev/vmnet$num exists! Exiting." -exit 1 + echo "/dev/vmnet$num exists! Exiting." + exit 1 fi @@ -27,7 +27,7 @@ echo echo "Locating interfaces to bridge" for int in $(ifconfig |grep "^[a-z,A-Z]" |cut -d' ' -f1); do -echo $int + echo $int done printf "Please enter a interface: " read interface @@ -36,8 +36,8 @@ read interface ifconfig $interface >/dev/null 2>&1 ret=$? if [ $ret != 0 ];then -echo "Can't find interface. Exiting!" -exit 1 + echo "Can't find interface. Exiting!" + exit 1 fi -- 1.7.9.5