Changeset 2431 in MondoRescue for branches/2.2.9/mindi
- Timestamp:
- Sep 28, 2009, 1:16:18 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.9/mindi/mindi
r2429 r2431 746 746 if [ -e "/vmfs/volumes" ]; then 747 747 # For VMWare ESX 3 get the device names of these volumes 748 vdf -P | grep -E '/vmfs/volumes' | awk'{print $1}'748 vdf -P | grep -E '/vmfs/volumes' | $AWK '{print $1}' 749 749 fi 750 750 return … … 1819 1819 touch $mpincfile 1820 1820 if [ -a $MODPROBE_CONF ]; then 1821 includes=$( awk'/^[ \t]*include[ \t]+/ {if(NF>=2){print $2}}' $MODPROBE_CONF|sort -u)1821 includes=$($AWK '/^[ \t]*include[ \t]+/ {if(NF>=2){print $2}}' $MODPROBE_CONF|sort -u) 1822 1822 if [ -n "$includes" ]; then 1823 1823 for include in $includes … … 1969 1969 while [ "$incoming" != "" ]; do 1970 1970 # We take the full path name of the dyn. lib. we want 1971 incoming=`echo "$incoming" | awk'{if (match($1,/\//)) {print $1} else {if (match($3,/\//)) print $3} fi}'`1971 incoming=`echo "$incoming" | $AWK '{if (match($1,/\//)) {print $1} else {if (match($3,/\//)) print $3} fi}'` 1972 1972 for f in $incoming ; do 1973 1973 # echo modified file name if one of the parent dir is a link … … 2594 2594 echo "-------------" >> $LOGFILE 2595 2595 lsmod >> $LOGFILE 2596 MODULES="`cat /proc/modules | awk'{print $1}'`"2596 MODULES="`cat /proc/modules | $AWK '{print $1}'`" 2597 2597 if [ -x /usr/sbin/esxcfg-module ]; then 2598 2598 echo "-------------" >> $LOGFILE … … 2602 2602 echo "-------------" >> $LOGFILE 2603 2603 /usr/sbin/esxcfg-module -l >> $LOGFILE 2604 MODULES="$MODULES `/usr/sbin/esxcfg-module -l | awk'{print $1}'`"2604 MODULES="$MODULES `/usr/sbin/esxcfg-module -l | $AWK '{print $1}'`" 2605 2605 fi 2606 2606 echo "FORCE_MODS:" >> $LOGFILE
Note:
See TracChangeset
for help on using the changeset viewer.