Changeset 330685a in lab.git
- Timestamp:
- Jun 23, 2010 1:43:16 PM (14 years ago)
- Branches:
- master, trunk
- Children:
- 013d010
- Parents:
- dd21d69
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vmware/hotaddbridge
rdd21d69 r330685a 11 11 for dev in $(ls /dev/vmnet*); 12 12 do 13 echo " Found $dev"13 echo " Found $dev" 14 14 done 15 15 echo … … 18 18 # Check if it exists 19 19 if [ -f /dev/vmnet$num ];then 20 echo "/dev/vmnet$num exists! Exiting."21 exit 120 echo "/dev/vmnet$num exists! Exiting." 21 exit 1 22 22 fi 23 23 … … 28 28 for int in $(ifconfig |grep "^[a-z,A-Z]" |cut -d' ' -f1); 29 29 do 30 echo $int30 echo $int 31 31 done 32 32 printf "Please enter a interface: " … … 37 37 ret=$? 38 38 if [ $ret != 0 ];then 39 echo "Can't find interface. Exiting!"40 exit 139 echo "Can't find interface. Exiting!" 40 exit 1 41 41 fi 42 42
Note: See TracChangeset
for help on using the changeset viewer.