Changeset 2858 in MondoRescue for branches/2.2.9/mindi
- Timestamp:
- Jul 26, 2011, 1:14:25 AM (15 years ago)
- File:
-
- 1 edited
-
branches/2.2.9/mindi/mindi (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.9/mindi/mindi
r2857 r2858 2342 2342 if echo $i | grep "$KERVERRUN" ; then 2343 2343 LogIt "OK, I used my initiative and found that " 2344 LogIt "$i is probably your kernel. "2344 LogIt "$i is probably your kernel. " 2345 2345 output="$i" 2346 break 2346 2347 fi 2347 2348 done 2348 if [ -n "$output" ]; then2349 if [ ! -n "$output" ]; then 2349 2350 if echo " $possible_kernels " | grep -F "/boot/vmlinuz " &> /dev/null ; then 2350 2351 output=/boot/vmlinuz … … 2366 2367 else 2367 2368 for i in $possible_xenkernels ; do 2368 if echo $i | grep "$KERVERRUN" ; then2369 if echo $i | grep "$KERVERRUN" ; then 2369 2370 LogIt "OK, I used my initiative and found that " 2370 LogIt "$i is probably your Xen kernel. "2371 LogIt "$i is probably your Xen kernel. " 2371 2372 xenkernelpath="$i" 2373 break 2372 2374 fi 2373 2375 done 2374 if [ -n "$xenkernelpath" ]; then2376 if [ ! -n "$xenkernelpath" ]; then 2375 2377 new_possible_xenkernels=`echo "$possible_xenkernels" | tr -s ' ' '\n' | grep -E "^/boot" | sort -u | tr '\n' ' '` 2376 2378 if [ ! -n "$new_possible_xenkernels" ]; then … … 2378 2380 LogIt "Using $xenkernelpath" 2379 2381 else 2380 LogIt "Two or more possible Xen kernels found. You may specify any one of them and the "2382 LogIt "Two or more possible Xen kernels found. You may specify any one of them and the " 2381 2383 LogIt "boot disks will still work, probably. If one does not work, try another." 2382 LogIt "$possible_xenkernels"2384 LogIt "$possible_xenkernels" 2383 2385 echo "" 2384 2386 xenkernelpath=`echo $possible_xenkernels | tr -s ' ' '\n' | head -1` … … 2896 2898 if [ $KERNEL_IS_XEN = "yes" ]; then 2897 2899 echo "$xenkernelpath" 2900 LogIt "xenkernelpath = $xenkernelpath" 2901 fi 2898 2902 MindiExit 0 2899 2903 else
Note:
See TracChangeset
for help on using the changeset viewer.
