diff options
author | Justin Chen | 2018-11-01 19:10:38 +0100 |
---|---|---|
committer | Karel Zak | 2018-11-06 12:34:02 +0100 |
commit | e1686b25acdedb34cc357f08f0dd3ca01c559dfd (patch) | |
tree | 456d3bebe5c4a42f7624b4f96b2090136bd785b3 /include | |
parent | build-sys: release++ (v2.33) (diff) | |
download | kernel-qcow2-util-linux-e1686b25acdedb34cc357f08f0dd3ca01c559dfd.tar.gz kernel-qcow2-util-linux-e1686b25acdedb34cc357f08f0dd3ca01c559dfd.tar.xz kernel-qcow2-util-linux-e1686b25acdedb34cc357f08f0dd3ca01c559dfd.zip |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/pathnames.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/pathnames.h b/include/pathnames.h index 3d5052e6f..ed8ea330d 100644 --- a/include/pathnames.h +++ b/include/pathnames.h @@ -53,6 +53,7 @@ # define _PATH_LOGIN "/bin/login" #endif #define _PATH_SHUTDOWN "/sbin/shutdown" +#define _PATH_POWEROFF "/sbin/poweroff" #define _PATH_TERMCOLORS_DIRNAME "terminal-colors.d" #define _PATH_TERMCOLORS_DIR "/etc/" _PATH_TERMCOLORS_DIRNAME |