[wip] Initial work to enable/disable "learn" modules

This commit is contained in:
William Wernert
2021-07-26 14:24:10 -04:00
parent 2f118781ea
commit 64945cec16
7 changed files with 260 additions and 16 deletions

View File

@@ -349,9 +349,7 @@ def sigint_handler(*_):
def main():
signal.signal(signal.SIGINT, sigint_handler)
if os.geteuid() != 0:
print_err('You must run this script as root')
sys.exit(1)
apply_help='After updating rule configuration, apply the idstools state.'