From 7cc57a9fa09dcebb28b04e93879a72d908f6a687 Mon Sep 17 00:00:00 2001 From: Federico Di Pierro Date: Fri, 12 Apr 2024 15:28:13 +0200 Subject: [PATCH] docs(scripts): leave a small comment. Signed-off-by: Federico Di Pierro --- scripts/debian/postinst.in | 3 ++- scripts/rpm/postinstall.in | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/debian/postinst.in b/scripts/debian/postinst.in index 57a577af..cce12bd9 100755 --- a/scripts/debian/postinst.in +++ b/scripts/debian/postinst.in @@ -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="" diff --git a/scripts/rpm/postinstall.in b/scripts/rpm/postinstall.in index 2def0c5b..489f9083 100755 --- a/scripts/rpm/postinstall.in +++ b/scripts/rpm/postinstall.in @@ -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=""