Skip to content

Commit

Permalink
sd-shutdown: add kexec binary if it's available
Browse files Browse the repository at this point in the history
  • Loading branch information
falconindy committed Jan 4, 2014
1 parent ede5c81 commit ed65f93
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions install/sd-shutdown
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit ed65f93

Please sign in to comment.