From ed65f93eb4d23aee3129611c90fa2b81e0cb7f42 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Sat, 4 Jan 2014 16:57:11 -0500 Subject: sd-shutdown: add kexec binary if it's available --- install/sd-shutdown | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/install/sd-shutdown b/install/sd-shutdown index 7e86dad..cd4686f 100644 --- a/install/sd-shutdown +++ b/install/sd-shutdown @@ -2,6 +2,10 @@ build() { add_binary /usr/lib/systemd/systemd-shutdown /shutdown + + if type -P kexec >/dev/null; then + add_binary kexec + fi } help() { -- cgit v1.2.3-24-g4f1b