Changeset 3148 in MondoRescue for branches/3.1/mindi/mindi
- Timestamp:
- Jun 19, 2013, 8:50:28 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.1/mindi/mindi
r3147 r3148 2234 2234 # Used by ia64 2235 2235 if [ "`gzip -cd $fname | strings 2> /dev/null | grep -F "$kdate"`" = "" ] ; then 2236 Log All"Have you recompiled your kernel \"$fname\" w/o rebooting? Naughty but I'll allow it..."2236 LogFile "Have you recompiled your kernel \"$fname\" w/o rebooting? Naughty but I'll allow it..." 2237 2237 duff_kernels="$fname $duff_kernels" 2238 2238 else … … 2242 2242 else 2243 2243 if [ "`strings $fname 2> /dev/null | grep -F "$kdate"`" = "" ] ; then 2244 Log All"Have you recompiled your kernel \"$fname\" w/o rebooting?\n Naughty but I'll allow it..."2244 LogFile "Have you recompiled your kernel \"$fname\" w/o rebooting?\n Naughty but I'll allow it..." 2245 2245 duff_kernels="$fname $duff_kernels" 2246 2246 else … … 2541 2541 echo $i >> $MINDI_TMP/cp.lis 2542 2542 fi 2543 if [ -L $mountpoint/$i ] && [ `echo "$i" | grep "\.ko$"` ]; then 2544 echo "Replacing module symlink ($i) with actual file" 2545 rm -f $mountpoint/$i 2546 cp -Lf $i $mountpoint/$i 2547 ls -l $mountpoint/$i 2548 fi 2543 2549 done 2544 2550 … … 2720 2726 fi 2721 2727 2722 > $LOGFILE2723 2728 LogFile "mindi v$MINDI_VERSION" 2724 2729 LogFile "$ARCH architecture detected" … … 2728 2733 LogFile "-----------------------------" 2729 2734 2735 [ -e "/sbin/mkdosfs" ] && [ ! -e "/sbin/mkfs.vfat" ] && LogAll "/sbin/mkfs.vfat is missing!" 2736 2730 2737 # Log some capital variables 2731 2738 [ "$MINDI_PREFIX" = "XXX" ] && Die "Mindi has not been installed correctly." 2732 2739 [ "$MINDI_CONF" = "YYY" ] && Die "Mindi has not been installed correctly." 2733 LogFile "MONDO_SHARE = $MONDO_SHARE" 2740 LogFile "MONDO_SHARE = $MONDO_SHARE" 2734 2741 LogFile "MINDI_DATA = $MINDI_DATA" 2735 LogFile "MINDI_SBIN = $MINDI_SBIN" 2736 LogFile "MINDI_CONF = $MINDI_CONF" 2742 LogFile "MINDI_SBIN = $MINDI_SBIN" 2743 LogFile "MINDI_CONF = $MINDI_CONF" 2737 2744 if [ -f $MINDI_CONFIG ]; then 2738 2745 LogFile "-----------------------------" … … 2835 2842 LogFile "No file /etc/mdadm.conf" 2836 2843 fi 2837 LogFile "-------------" 2838 LogFile "cat $CMDLINE" 2839 LogFile "-------------" 2844 LogFile "-------------" 2845 LogFile "cat $CMDLINE" 2846 LogFile "-------------" 2840 2847 cat $CMDLINE >> $LOGFILE 2841 LogFile "-------------" 2842 LogFile "cat /proc/swaps:" 2843 LogFile "-------------" 2848 LogFile "-------------" 2849 LogFile "cat /proc/swaps:" 2850 LogFile "-------------" 2844 2851 cat /proc/swaps >> $LOGFILE 2845 2852 LogFile "-------------" … … 3123 3130 LogIt "Mindi-`$MINDI_LIB/rootfs/bin/busybox 2>&1 | head -1`" 3124 3131 else 3125 LogIt " ERROR: No mindi-busybox installed"3132 LogIt "WARNING: No mindi-busybox installed" 3126 3133 fi 3127 3134
Note:
See TracChangeset
for help on using the changeset viewer.