Changeset 43450


Ignore:
Timestamp:
02/04/19 05:24:14 (5 years ago)
Author:
obi
Message:

fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/system_update.h

    r43448 r43450  
    3232        {
    3333#ifdef OEBUILD
    34                 char* devicelist = command("cat /boot/STARTUP* | sed -nr 's!.*root=/dev/([^/]+) rootfstype.*!\1!p' | sort -u");
     34                char* devicelist = command("cat /boot/STARTUP* | sed -nr 's/.*root=\/dev\/([^\/]+) rootfstype.*/\1/p' | sort -u");
    3535#else
    3636                char* devicelist = command("cat /proc/diskstats | awk {'print $3'} | grep 'sd[a-z][0-9]'");
Note: See TracChangeset for help on using the changeset viewer.