Commit message says it all. So does the ticket. https://fedorahosted.org/freeipa/ticket/2480
-- PetrĀ³
From aad19e793e3ea882ef5069d678f9ba739b2e6eb4 Mon Sep 17 00:00:00 2001 From: Petr Viktorin <pvikt...@redhat.com> Date: Fri, 2 Mar 2012 07:18:56 -0500 Subject: [PATCH] Use reboot from /sbin According to FHS, the reboot command should live in /sbin. Systems may also have a symlink in /usr/bin, but they don't have to. https://fedorahosted.org/freeipa/ticket/2480 --- ipa-client/ipa-install/ipa-client-install | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/ipa-client/ipa-install/ipa-client-install b/ipa-client/ipa-install/ipa-client-install index f5c1efe0686020ce7cad79edfe19908ee3a55a30..7d405a8d7c17d8ec626d018eeda02bf234805dce 100755 --- a/ipa-client/ipa-install/ipa-client-install +++ b/ipa-client/ipa-install/ipa-client-install @@ -409,7 +409,7 @@ def uninstall(options, env, quiet=False): if not options.on_master: if user_input("Do you want to reboot the machine?", False): try: - run(["/usr/bin/reboot"]) + run(["/sbin/reboot"]) except Exception, e: emit_quiet(quiet, "Reboot command failed to exceute. " + str(e)) return CLIENT_UNINSTALL_ERROR -- 1.7.7.6
_______________________________________________ Freeipa-devel mailing list Freeipa-devel@redhat.com https://www.redhat.com/mailman/listinfo/freeipa-devel