Changeset 729 in MondoRescue for trunk/mondo/mondo/restore-scripts
- Timestamp:
- Jul 30, 2006, 4:06:39 PM (18 years ago)
- Location:
- trunk/mondo/mondo/restore-scripts/mondo
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mondo/mondo/restore-scripts/mondo/grub-install.patched
r588 r729 257 257 # For now, this uses the program `df' to get the device name, but is 258 258 # this really portable? 259 tmp_fname=`df -P$1/ | sed -n 's%.*\(/dev/[^ ]*\).*%\1%p'`259 tmp_fname=`df $1/ | sed -n 's%.*\(/dev/[^ ]*\).*%\1%p'` 260 260 261 261 if test -z "$tmp_fname"; then -
trunk/mondo/mondo/restore-scripts/mondo/label-partitions-as-necessary
r588 r729 59 59 while [ "$line" != "" ] && [ "$noof_blank_lines" -le "5" ] ; do 60 60 if [ "$line" = "" ] ; then 61 noof_blank_lines=$(($noof_blank_lines+1))61 noof_blank_lines=$(($noof_blank_lines+1)) 62 62 else 63 noof_blank_lines=064 read_partition_line "$line"63 noof_blank_lines=0 64 read_partition_line "$line" 65 65 fi 66 66 read line
Note:
See TracChangeset
for help on using the changeset viewer.