Changeset 45192


Ignore:
Timestamp:
01/21/21 18:04:11 (3 years ago)
Author:
obi
Message:

fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/system_update.h

    r45188 r45192  
    127127
    128128                                        cmd = ostrcat("flashdev=$(cat /boot/", label, 0, 0);
    129                                         cmd = ostrcat(cmd, " | sed -nr 's#.*root=/dev/([^/]+)#}\1#p' | awk '{ print $1 }'); cat /proc/diskstats | awk {'print $3'} | grep 'mmcblk0[a-z][0-9]\\|sd[a-z][0-9]' | grep -c $flashdev$", 1, 0);
     129                                        cmd = ostrcat(cmd, " | sed -nr 's#.*root=/dev/([^/]+)#}\\1#p' | awk '{ print $1 }'); cat /proc/diskstats | awk {'print $3'} | grep 'mmcblk0[a-z][0-9]\\|sd[a-z][0-9]' | grep -c $flashdev$", 1, 0);
    130130                                        printf("cmd: %s\n", cmd);
    131131
Note: See TracChangeset for help on using the changeset viewer.