mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-13 08:23:45 +02:00
remove pinentered script , revert 9dbdfcf5c7
This commit is contained in:
@@ -2376,7 +2376,6 @@ bool CZapProtection::check()
|
|||||||
hint = NONEXISTANT_LOCALE;
|
hint = NONEXISTANT_LOCALE;
|
||||||
int res;
|
int res;
|
||||||
std::string cPIN;
|
std::string cPIN;
|
||||||
char systemstr[128];
|
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
cPIN = "";
|
cPIN = "";
|
||||||
@@ -2386,9 +2385,6 @@ bool CZapProtection::check()
|
|||||||
res = PINInput->exec(getParent(), "");
|
res = PINInput->exec(getParent(), "");
|
||||||
delete PINInput;
|
delete PINInput;
|
||||||
cPIN[4] = 0;
|
cPIN[4] = 0;
|
||||||
strcpy(systemstr, CONFIGDIR "/pinentered.sh ");
|
|
||||||
strcat(systemstr, cPIN.c_str());
|
|
||||||
system(systemstr);
|
|
||||||
|
|
||||||
hint = LOCALE_PINPROTECTION_WRONGCODE;
|
hint = LOCALE_PINPROTECTION_WRONGCODE;
|
||||||
} while ( (cPIN != *validPIN) && !cPIN.empty() &&
|
} while ( (cPIN != *validPIN) && !cPIN.empty() &&
|
||||||
|
Reference in New Issue
Block a user