mirror of
https://github.com/gutosie/neoboot.git
synced 2025-11-01 11:55:47 +01:00
Add files via upload
This commit is contained in:
@@ -6,6 +6,7 @@ from os import system
|
|||||||
import time
|
import time
|
||||||
from Tools.Directories import fileExists, SCOPE_PLUGINS
|
from Tools.Directories import fileExists, SCOPE_PLUGINS
|
||||||
|
|
||||||
|
|
||||||
def getAccesDate():
|
def getAccesDate():
|
||||||
timego=''
|
timego=''
|
||||||
dana = getTestOutTime() # etc Nie! Szukana liczba jest wieksza!
|
dana = getTestOutTime() # etc Nie! Szukana liczba jest wieksza!
|
||||||
@@ -93,3 +94,15 @@ def getTestOutTime():
|
|||||||
mydateout = f.readline().strip()
|
mydateout = f.readline().strip()
|
||||||
f.close()
|
f.close()
|
||||||
return mydateout
|
return mydateout
|
||||||
|
|
||||||
|
|
||||||
|
def getButtonPin():
|
||||||
|
mypin='UNKNOWN'
|
||||||
|
if os.path.exists('/usr/lib/periodon'):
|
||||||
|
out = open('/usr/lib/periodon/.kodn', 'w')
|
||||||
|
out.write('1234%s' % getTestToTest())
|
||||||
|
out.close()
|
||||||
|
mypin='pinok'
|
||||||
|
return mypin
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user