condrestart is a left over from the time of SysVinit that is no longer
needed since the kexec-tools switched to systemd (10c91a1 ("Removing
sysvinit files") plus the one before). What's especially intriguing is
that from the beginning (0112f36 ("- Add a kdump sysconfig file and init
script - Spec file additions for pre/post install/uninstall")) the
sub-command never did any actual work (other than not returning an
error). Thus simply remove the condrestart sub-command.
Signed-off-by: Philipp Rudo <prudo(a)redhat.com>
Reviewed-by: Pingfan Liu <piliu(a)redhat.com>
---
kdumpctl | 2 --
1 file changed, 2 deletions(-)
diff --git a/kdumpctl b/kdumpctl
index be270db..fcb7a5e 100755
--- a/kdumpctl
+++ b/kdumpctl
@@ -1795,8 +1795,6 @@ main()
rebuild)
rebuild
;;
- condrestart) ;;
-
propagate)
propagate_ssh_key
;;
--
2.40.0