Changeset 31701


Ignore:
Timestamp:
Mar 17, 2017, 11:42:26 PM (4 months ago)
Author:
brainslayer
Message:

not sure if this is correct

Location:
src/router
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/router/httpd/modules/upgrade.c

    r31699 r31701  
    309309                                        fprintf(stderr, "found valid ASROCK-G10 Image\n");
    310310                                        sysprintf("startservice bootprimary");
    311                                         sysprintf("startservice finishupgrade");
     311                                //      sysprintf("startservice finishupgrade");
    312312                                        count -= sizeof(struct img_header);
    313313                                        memcpy(buf, buf + sizeof(struct img_header), count);
  • src/router/services/sysinit/sysinit-ipq806x.c

    r31698 r31701  
    120120                        for (i = 0; i < ipq_smem_bootconfig_v2_info->numaltpart; i++) {
    121121                                if (!strncmp(ipq_smem_bootconfig_v2_info->per_part_entry[i].name, "rootfs", 6)) {
    122                                         ipq_smem_bootconfig_v2_info->per_part_entry[i].primaryboot = !ipq_smem_bootconfig_v2_info->per_part_entry[i].primaryboot;
     122                                //      ipq_smem_bootconfig_v2_info->per_part_entry[i].primaryboot = !ipq_smem_bootconfig_v2_info->per_part_entry[i].primaryboot;
    123123                                        ipq_smem_bootconfig_v2_info->per_part_entry[i].upgraded = 0;
    124124                                }
     
    134134                        for (i = 0; i < ipq_smem_bootconfig_info->numaltpart; i++) {
    135135                                if (!strncmp(ipq_smem_bootconfig_info->per_part_entry[i].name, "rootfs", 6)) {
    136                                         ipq_smem_bootconfig_info->per_part_entry[i].primaryboot = !ipq_smem_bootconfig_info->per_part_entry[i].primaryboot;
     136                                //      ipq_smem_bootconfig_info->per_part_entry[i].primaryboot = !ipq_smem_bootconfig_info->per_part_entry[i].primaryboot;
    137137                                        ipq_smem_bootconfig_info->per_part_entry[i].upgraded = 0;
    138138                                }
Note: See TracChangeset for help on using the changeset viewer.