mirror of
https://github.com/falcosecurity/falco.git
synced 2025-09-08 18:19:30 +00:00
chore: couple of small fixes.
Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
This commit is contained in:
committed by
poiana
parent
3c7fc1a8c5
commit
26c00a3948
@@ -38,7 +38,7 @@ if [ "$1" = "configure" ]; then
|
|||||||
if [ -x /usr/bin/dialog ]; then
|
if [ -x /usr/bin/dialog ]; then
|
||||||
# If dialog is installed, create a dialog to let users choose the correct driver for them
|
# If dialog is installed, create a dialog to let users choose the correct driver for them
|
||||||
CHOICE=$(dialog --clear --title "Falco drivers" --menu "Choose your preferred driver:" 12 55 4 \
|
CHOICE=$(dialog --clear --title "Falco drivers" --menu "Choose your preferred driver:" 12 55 4 \
|
||||||
1 "Manual configuration (no unit is stared)" \
|
1 "Manual configuration (no unit is started)" \
|
||||||
2 "Kmod" \
|
2 "Kmod" \
|
||||||
3 "eBPF" \
|
3 "eBPF" \
|
||||||
4 "Modern eBPF" \
|
4 "Modern eBPF" \
|
||||||
|
@@ -52,9 +52,6 @@ if [ $1 -eq 1 ]; then
|
|||||||
4)
|
4)
|
||||||
chosen_driver="modern-bpf"
|
chosen_driver="modern-bpf"
|
||||||
;;
|
;;
|
||||||
5)
|
|
||||||
chosen_driver="plugin"
|
|
||||||
;;
|
|
||||||
esac
|
esac
|
||||||
if [ -n "$chosen_driver" ]; then
|
if [ -n "$chosen_driver" ]; then
|
||||||
CHOICE=$(dialog --clear --title "Falcoctl" --menu "Do you want to follow automatic ruleset updates?" 10 40 2 \
|
CHOICE=$(dialog --clear --title "Falcoctl" --menu "Do you want to follow automatic ruleset updates?" 10 40 2 \
|
||||||
|
Reference in New Issue
Block a user