mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-02 02:11:11 +02:00
Merge remote-tracking branch 'neutrino-mp/master' into pu/mp
Conflicts: src/neutrino.cpp src/nhttpd/tuxboxapi/neutrinoyparser.cpp
This commit is contained in:
@@ -792,7 +792,6 @@ int CMenuWidget::exec(CMenuTarget* parent, const std::string &)
|
||||
paint();
|
||||
break;
|
||||
}
|
||||
frameBuffer->blit();
|
||||
continue;
|
||||
}
|
||||
for (unsigned int i= 0; i< items.size(); i++) {
|
||||
@@ -2354,6 +2353,7 @@ bool CZapProtection::check()
|
||||
hint = NONEXISTANT_LOCALE;
|
||||
int res;
|
||||
std::string cPIN;
|
||||
char systemstr[128];
|
||||
do
|
||||
{
|
||||
cPIN = "";
|
||||
@@ -2362,10 +2362,11 @@ bool CZapProtection::check()
|
||||
|
||||
res = PINInput->exec(getParent(), "");
|
||||
delete PINInput;
|
||||
if (!access(CONFIGDIR "/pinentered.sh", X_OK)) {
|
||||
std::string systemstr = CONFIGDIR "/pinentered.sh " + cPIN;
|
||||
system(systemstr.c_str());
|
||||
}
|
||||
cPIN[4] = 0;
|
||||
strcpy(systemstr, CONFIGDIR "/pinentered.sh ");
|
||||
strcat(systemstr, cPIN.c_str());
|
||||
system(systemstr);
|
||||
|
||||
hint = LOCALE_PINPROTECTION_WRONGCODE;
|
||||
} while ( (cPIN != *validPIN) && !cPIN.empty() &&
|
||||
( res == menu_return::RETURN_REPAINT ) &&
|
||||
|
Reference in New Issue
Block a user