update-kernel: Interactive mode implies (try to install) all modules

This should make interactive mode more useful and intuitive.

Link: https://bugzilla.altlinux.org/42321
Signed-off-by: Vitaly Chikunov <vt@altlinux.org>
This commit is contained in:
Виталий Чикунов 2022-04-06 07:35:42 +03:00
parent 973b740da2
commit 94d908771a

View File

@ -50,7 +50,7 @@ Usage: $PROG [options]
Valid options are:
-l, --list list available kernels
-a, --all install all kernel modules
-i, --interactive interactive modules install
-i, --interactive interactive modules install (implies --all)
-f, -y, --force force kernel upgrade
-t, --type install kernel with specified flavour (ovz-smp, std-def, etc)
-r, --release desired kernel release (allowed formats by example:
@ -121,7 +121,7 @@ while :; do
;;
-a|--all) all=1
;;
-i|--interactive) interactive=1
-i|--interactive) interactive=1 all=1
;;
-f|-y|--force) force=1
;;