Added Snippets and cleanup .script/startup.sh

This commit is contained in:
TuDatTr
2020-03-03 18:26:11 +01:00
parent ff8227ac64
commit 4e20234777
16 changed files with 594 additions and 21 deletions

View File

@@ -152,13 +152,8 @@ def proc_exists(proc_name):
proc_content = '{}: {}'.format(counter, proc_content)
if proc_content:
if proc_name in proc_content:
# print(proc_name)
# print(proc_content)
# print(proc_name in proc_content)
if 'xss-lock' not in proc_content:
# print('xss-lock' not in proc_content)
if this_proc not in proc_content:
# print(this_proc not in proc_content)
print('Process Exists: {}'.format(time.time() - proc_check))
return True
except FileNotFoundError: