Changeset 45448


Ignore:
Timestamp:
02/18/21 16:33:51 (3 years ago)
Author:
gost
Message:

satipclient final1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/plugins/satipclient/satipclient.h

    r45439 r45448  
    2727        struct skin* node = NULL;
    2828       
     29        struct skin* load = getscreen("loading");
     30       
    2931        cmd = ostrcat(satipclientrun, " ", 0, 0);
    3032        cmd = ostrcat(cmd, satipclientscan, 1, 0);
    3133        debug(10, "cmd: %s", cmd);
     34       
     35        drawscreen(load, 0, 0);
    3236        tmpstr = command(cmd);
    3337        debug(10, "tmpstr: %s", tmpstr);
     38        clearscreen(load);
     39
    3440        free(cmd), cmd = NULL;
    3541        free(tmpstr), tmpstr = NULL;
     
    129135                        writelist(myconfig, vtunerconf);
    130136
    131                         if(textbox(_("Message"), _("Titan will be restarted!"), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 1000, 200, 5, 0) == 1)
    132                                 oshutdown(3, 1);
     137                        if(textbox(_("Message"), _("Box will be restarted!"), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 1000, 200, 5, 0) == 1)
     138                                oshutdown(2, 1);
    133139                        else
    134140                        {
     
    147153                        break;
    148154                }
    149                 else if(rcret == getrcconfigint("rcred", NULL))
     155/*              else if(rcret == getrcconfigint("rcred", NULL))
    150156                {
    151157                        debug(10, "cmd: %s", satipclientstop);
    152                         system(satipclientstop);
    153                         textbox(_("Message"), _("SAT-IP Client now stopped"), _("OK"), getrcconfigint("rcok", NULL), NULL, 0, NULL, 0, NULL, 0, 600, 200, 5, 0);
     158                        //system(satipclientstop);
     159                        //textbox(_("Message"), _("SAT-IP Client now stopped"), _("OK"), getrcconfigint("rcok", NULL), NULL, 0, NULL, 0, NULL, 0, 600, 200, 5, 0);
    154160                        drawscreen(satipclient, 0, 0);
    155161                }
     
    187193                        restart = 1;
    188194                        break;
    189                 }
     195                }*/
    190196                else if(rcret == getrcconfigint("rcblue", NULL))
    191197                {
Note: See TracChangeset for help on using the changeset viewer.