mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
Merge pull request #12526 from Security-Onion-Solutions/jertel/status
unswap files
This commit is contained in:
@@ -56,7 +56,7 @@ def check_for_fps():
|
|||||||
# Unknown, so assume 0
|
# Unknown, so assume 0
|
||||||
fps = 0
|
fps = 0
|
||||||
|
|
||||||
with open('/opt/so/log/sostatus/lks_enabled', 'w') as f:
|
with open('/opt/so/log/sostatus/fps_enabled', 'w') as f:
|
||||||
f.write(str(fps))
|
f.write(str(fps))
|
||||||
|
|
||||||
def check_for_lks():
|
def check_for_lks():
|
||||||
@@ -80,7 +80,7 @@ def check_for_lks():
|
|||||||
lks = 1
|
lks = 1
|
||||||
if lks:
|
if lks:
|
||||||
break
|
break
|
||||||
with open('/opt/so/log/sostatus/fps_enabled', 'w') as f:
|
with open('/opt/so/log/sostatus/lks_enabled', 'w') as f:
|
||||||
f.write(str(lks))
|
f.write(str(lks))
|
||||||
|
|
||||||
def fail(msg):
|
def fail(msg):
|
||||||
|
|||||||
Reference in New Issue
Block a user