Changeset 43445 for titan/titan
- Timestamp:
- 02/04/19 04:48:13 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/system_update.h
r43442 r43445 36 36 char* devicelist = command("cat /proc/diskstats | awk {'print $3'} | grep 'sd[a-z][0-9]'"); 37 37 #endif 38 char* = command("cat /proc/cmdline | sed 's/^.*root=//;s/ .*$//' | sed 's!/dev/!!'");38 char* rootpart = command("cat /proc/cmdline | sed 's/^.*root=//;s/ .*$//' | sed 's!/dev/!!'"); 39 39 40 40 printf("devicelist: %s\n",devicelist); … … 247 247 cmd = ostrcat(cmd, " release titannit.dyndns.tv", 1, 0); 248 248 249 if( mode == 2 || mode == 3)249 if((mode == 2 || mode == 3) && device->ret != NULL && ostrstr(device->ret, "no device found", "no device found") != NULL) 250 250 { 251 251 // send multiboot device to update.sh
Note: See TracChangeset
for help on using the changeset viewer.