commit 6e075d98884f68dd3fbc8216398523ee7307d8cc from: jrmu date: Sun Mar 12 02:34:10 2023 UTC Fixed regex bug that would cause relayd.conf to get wiped out commit - c8e9176570263fe014d2433fd99a008e2262ad70 commit + 6e075d98884f68dd3fbc8216398523ee7307d8cc blob - 575e562477e906594406851c68b5caf0e3d7f87d blob + 26a54cff89101bedce5ce9d525317a876d8f9abe --- Shell.pm +++ Shell.pm @@ -32,6 +32,14 @@ my $pfconfpath = "/etc/pf.conf"; my $relaydconfpath = "/etc/relayd.conf"; my $startPort; my $endPort; + +use constant { + NONE => 0, + ERRORS => 1, + WARNINGS => 2, + ALL => 3, +}; + main::cbind("pub", "-", "shell", \&mshell); main::cbind("msg", "-", "shell", \&mshell);