diff --git a/man/bootctl.xml b/man/bootctl.xml index a03c7c76e8..7bdada8a88 100644 --- a/man/bootctl.xml +++ b/man/bootctl.xml @@ -69,19 +69,6 @@ systemctl1 for details. - - - STRING - - When called without the optional argument, prints the current value of the - SystemdOptions EFI variable. When called with an argument, sets the variable to - that value. See - systemd1 for the - meaning of that variable. - - Note: use of SystemdOptions and this command is deprecated. - - diff --git a/src/boot/bootctl-systemd-efi-options.c b/src/boot/bootctl-systemd-efi-options.c index 6375f21097..7f8308fc3d 100644 --- a/src/boot/bootctl-systemd-efi-options.c +++ b/src/boot/bootctl-systemd-efi-options.c @@ -8,6 +8,8 @@ int verb_systemd_efi_options(int argc, char *argv[], void *userdata) { int r; + /* This is obsolete and subject to removal */ + if (!arg_quiet) log_notice("Use of the SystemdOptions EFI variable is deprecated."); diff --git a/src/boot/bootctl.c b/src/boot/bootctl.c index a86ab84d19..1bc4aaf3ba 100644 --- a/src/boot/bootctl.c +++ b/src/boot/bootctl.c @@ -142,8 +142,6 @@ static int help(int argc, char *argv[], void *userdata) { " status Show status of installed boot loader and EFI variables\n" " reboot-to-firmware [BOOL]\n" " Query or set reboot-to-firmware EFI flag\n" - " systemd-efi-options [STRING]\n" - " Query or set system options string in EFI variable\n" "\n%3$sBoot Loader Specification Commands:%4$s\n" " list List boot loader entries\n" " unlink ID Remove boot loader entry\n"