Changeset 330685a in lab.git for vmware/hotaddbridge


Ignore:
Timestamp:
Jun 23, 2010 1:43:16 PM (14 years ago)
Author:
mitty <mitty@…>
Branches:
master, trunk
Children:
013d010
Parents:
dd21d69
Message:
  • indent loops

git-svn-id: https://lab.mitty.jp/svn/lab/trunk@42 7d2118f6-f56c-43e7-95a2-4bb3031d96e7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vmware/hotaddbridge

    rdd21d69 r330685a  
    1111for dev in $(ls /dev/vmnet*); 
    1212do 
    13 echo " Found $dev" 
     13    echo " Found $dev" 
    1414done 
    1515echo 
     
    1818# Check if it exists 
    1919if [ -f /dev/vmnet$num ];then 
    20 echo "/dev/vmnet$num exists! Exiting." 
    21 exit 1 
     20    echo "/dev/vmnet$num exists! Exiting." 
     21    exit 1 
    2222fi 
    2323 
     
    2828for int in $(ifconfig |grep "^[a-z,A-Z]" |cut -d' ' -f1); 
    2929do 
    30 echo $int 
     30    echo $int 
    3131done 
    3232printf "Please enter a interface: " 
     
    3737ret=$? 
    3838if [ $ret != 0 ];then 
    39 echo "Can't find interface. Exiting!" 
    40 exit 1 
     39    echo "Can't find interface. Exiting!" 
     40    exit 1 
    4141fi 
    4242 
Note: See TracChangeset for help on using the changeset viewer.