From: mitty Date: Wed, 23 Jun 2010 04:43:16 +0000 (+0000) Subject: * indent loops X-Git-Tag: r89-trunk~41 X-Git-Url: http://lab.mitty.jp/git/?a=commitdiff_plain;h=330685ab7e8cb23c6f739667ee06c675622c1524;p=lab.git * indent loops git-svn-id: https://lab.mitty.jp/svn/lab/trunk@42 7d2118f6-f56c-43e7-95a2-4bb3031d96e7 --- 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