]> git.ipfire.org Git - thirdparty/util-linux.git/commit
rtcwake: use poweroff if shutdown is not found
authorJustin Chen <justinpopo6@gmail.com>
Thu, 1 Nov 2018 18:10:38 +0000 (11:10 -0700)
committerKarel Zak <kzak@redhat.com>
Tue, 6 Nov 2018 11:34:02 +0000 (12:34 +0100)
commite1686b25acdedb34cc357f08f0dd3ca01c559dfd
tree456d3bebe5c4a42f7624b4f96b2090136bd785b3
parent06993ebb11d33ce87cdf36dd9c341b605568e583
rtcwake: use poweroff if shutdown is not found

Some systems do not have the shutdown command. Use poweroff as an
alternative.

Signed-off-by: Justin Chen <justinpopo6@gmail.com>
include/pathnames.h
sys-utils/rtcwake.c