docs(scripts): leave a small comment.

Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
This commit is contained in:
Federico Di Pierro 2024-04-12 15:28:13 +02:00 committed by poiana
parent cb414f1254
commit 7cc57a9fa0
2 changed files with 4 additions and 2 deletions

View File

@ -39,6 +39,7 @@ systemctl --system disable 'falcoctl-artifact-follow.service' || true
systemctl --system unmask falcoctl-artifact-follow.service || true
if [ "$1" = "configure" ]; then
# "auto" case is not managed here since it is already the default, so no CHOICE=2
case $FALCO_DRIVER_CHOICE in
none)
CHOICE=1
@ -63,7 +64,7 @@ if [ "$1" = "configure" ]; then
5 "Modern eBPF" \
2>&1 >/dev/tty)
fi
# No need to manage automatic case since it is already the default
# "auto" case is not managed here since it is already the default, so no CHOICE=2
case $CHOICE in
1)
chosen_driver=""

View File

@ -38,6 +38,7 @@ systemctl --system disable 'falcoctl-artifact-follow.service' || true
systemctl --system unmask falcoctl-artifact-follow.service || true
if [ $1 -ge 1 ]; then
# "auto" case is not managed here since it is already the default, so no CHOICE=2
case $FALCO_DRIVER_CHOICE in
none)
CHOICE=1
@ -62,7 +63,7 @@ if [ $1 -ge 1 ]; then
5 "Modern eBPF" \
2>&1 >/dev/tty)
fi
# No need to manage automatic case since it is already the default
# "auto" case is not managed here since it is already the default, so no CHOICE=2
case $CHOICE in
1)
chosen_driver=""