mirror of
https://github.com/falcosecurity/falco.git
synced 2025-09-02 07:05:54 +00:00
chore(scripts): added support for falco@plugin.target.
Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
This commit is contained in:
committed by
poiana
parent
b04bb2e32e
commit
91fe2e9e24
@@ -38,7 +38,7 @@ case "$1" in
|
||||
chosen_driver="ebpf"
|
||||
;;
|
||||
3)
|
||||
chosen_driver=
|
||||
chosen_driver="plugin"
|
||||
;;
|
||||
esac
|
||||
else
|
||||
@@ -71,6 +71,7 @@ if [ $1 -eq 1 ]; then
|
||||
# This will only remove masks created on package removal.
|
||||
/usr/bin/systemctl --system unmask "falco@kmod.target" >/dev/null || true
|
||||
/usr/bin/systemctl --system unmask "falco@ebpf.target" >/dev/null || true
|
||||
/usr/bin/systemctl --system unmask "falco@plugin.target" >/dev/null || true
|
||||
|
||||
if [ -n "$chosen_driver" ]; then
|
||||
# enable falco on installation
|
||||
|
Reference in New Issue
Block a user