Changeset 43504 for titan/titan


Ignore:
Timestamp:
02/15/19 10:20:43 (5 years ago)
Author:
obi
Message:

fix wlan

Location:
titan/titan
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/inetwork.h

    r23633 r43504  
    355355                                cmd = ostrcat(cmd, "cat /mnt/network/interfaces | grep ", 1, 0);
    356356                                cmd = ostrcat(cmd, tmp_device, 1, 0);
     357#ifdef OEBUILD
     358                                cmd = ostrcat(cmd, " | grep manual | wc -l", 1, 0);
     359#else
    357360                                cmd = ostrcat(cmd, " | grep off | wc -l", 1, 0);
     361#endif
    358362                                tmpstr = command(cmd);
    359363                                if(tmpstr != NULL && atoi(tmpstr) == 1)
  • titan/titan/network.h

    r43502 r43504  
    635635                {
    636636                        tmpstr = ostrcat(inetworknode->device, " (", 0, 0);
     637                        printf("inetworknode->device: %s inetworknode->ip: %s inetworknode->type: %d\n", inetworknode->device, inetworknode->ip, inetworknode->type);
    637638                        if(inetworknode->type == 2)
    638639                                tmpstr = ostrcat(tmpstr, _("disable"), 1, 0);
Note: See TracChangeset for help on using the changeset viewer.