Changeset 43441 for titan/titan
- Timestamp:
- 02/04/19 04:16:14 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/system_update.h
r43440 r43441 36 36 char* devicelist = command("cat /proc/diskstats | awk {'print $3'} | grep 'sd[a-z][0-9]'"); 37 37 #endif 38 char* rootpart = command("cat /proc/cmdline | sed 's/^.*root=//;s/ .*$//' | sed 's!/dev/!!'"); 38 char* = command("cat /proc/cmdline | sed 's/^.*root=//;s/ .*$//' | sed 's!/dev/!!'"); 39 40 printf("devicelist: %s\n",devicelist); 41 printf("rootpart: %s\n",rootpart); 39 42 40 43 if(devicelist != NULL && strlen(devicelist) != 0) … … 54 57 label = get_label(pch); 55 58 #endif 59 printf("label: %s pch: %s\n",label, pch); 60 56 61 if(ostrstr(label, "MINI") != NULL || ostrstr(label, "STARTUP") != NULL) 57 62 { … … 242 247 cmd = ostrcat(cmd, " release titannit.dyndns.tv", 1, 0); 243 248 249 if(mode == 2 || mode == 3) 250 { 244 251 // send multiboot device to update.sh 252 cmd = ostrcat(cmd, " ", 1, 0); 245 253 cmd = ostrcat(cmd, device->ret, 1, 0); 254 } 246 255 #else 247 256 if(node->imgtype == 1)
Note: See TracChangeset
for help on using the changeset viewer.