mirror of
https://github.com/falcosecurity/falco.git
synced 2025-09-07 01:30:13 +00:00
chore(scripts,cmake): rename modern_bpf to modern-bpf in deb and rpm scripts.
Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
This commit is contained in:
committed by
poiana
parent
87416ab67c
commit
4fc10bc774
@@ -38,7 +38,7 @@ case "$1" in
|
||||
chosen_driver="bpf"
|
||||
;;
|
||||
4)
|
||||
chosen_driver="modern_bpf"
|
||||
chosen_driver="modern-bpf"
|
||||
;;
|
||||
5)
|
||||
chosen_driver="plugin"
|
||||
@@ -73,7 +73,7 @@ if [ $1 -eq 1 ]; then
|
||||
/usr/bin/systemctl --system unmask "falco@.target" >/dev/null || true
|
||||
/usr/bin/systemctl --system unmask "falco-kmod.service" >/dev/null || true
|
||||
/usr/bin/systemctl --system unmask "falco-bpf.service" >/dev/null || true
|
||||
/usr/bin/systemctl --system unmask "falco-modern_bpf.service" >/dev/null || true
|
||||
/usr/bin/systemctl --system unmask "falco-modern-bpf.service" >/dev/null || true
|
||||
/usr/bin/systemctl --system unmask "falco-plugin.service" >/dev/null || true
|
||||
|
||||
if [ -n "$chosen_driver" ]; then
|
||||
|
@@ -23,7 +23,7 @@ if [ -d /run/systemd/system ] && [ "$1" = 0 ]; then
|
||||
/usr/bin/systemctl --system mask 'falco@.target' >/dev/null || true
|
||||
/usr/bin/systemctl --system mask 'falco-kmod.service' >/dev/null || true
|
||||
/usr/bin/systemctl --system mask 'falco-bpf.service' >/dev/null || true
|
||||
/usr/bin/systemctl --system mask 'falco-modern_bpf.service' >/dev/null || true
|
||||
/usr/bin/systemctl --system mask 'falco-modern-bpf.service' >/dev/null || true
|
||||
/usr/bin/systemctl --system mask 'falco-plugin.service' >/dev/null || true
|
||||
fi
|
||||
|
||||
@@ -36,5 +36,5 @@ fi
|
||||
# `systemd-update-helper mark-restart-system-units <service>`
|
||||
%systemd_postun_with_restart 'falco@kmod.target'
|
||||
%systemd_postun_with_restart 'falco@bpf.target'
|
||||
%systemd_postun_with_restart 'falco@modern_bpf.target'
|
||||
%systemd_postun_with_restart 'falco@modern-bpf.target'
|
||||
%systemd_postun_with_restart 'falco@plugin.target'
|
||||
|
@@ -22,7 +22,7 @@ if [ -d /run/systemd/system ] && [ $1 -eq 0 ]; then
|
||||
# stop falco service before uninstall
|
||||
/usr/bin/systemctl --system stop 'falco@kmod.target' >/dev/null || true
|
||||
/usr/bin/systemctl --system stop 'falco@bpf.target' >/dev/null || true
|
||||
/usr/bin/systemctl --system stop 'falco@modern_bpf.target' >/dev/null || true
|
||||
/usr/bin/systemctl --system stop 'falco@modern-bpf.target' >/dev/null || true
|
||||
/usr/bin/systemctl --system stop 'falco@plugin.target' >/dev/null || true
|
||||
fi
|
||||
|
||||
@@ -37,5 +37,5 @@ fi
|
||||
# `systemd-update-helper remove-system-units <service>`
|
||||
%systemd_preun 'falco@kmod.target'
|
||||
%systemd_preun 'falco@bpf.target'
|
||||
%systemd_preun 'falco@modern_bpf.target'
|
||||
%systemd_preun 'falco@modern-bpf.target'
|
||||
%systemd_preun 'falco@plugin.target'
|
||||
|
Reference in New Issue
Block a user