]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/systemctl/systemctl.c
basic: split out update_reboot_parameter_and_warn() into its own .c/.h files
authorLennart Poettering <lennart@poettering.net>
Wed, 21 Feb 2018 16:54:35 +0000 (17:54 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 22 Feb 2018 09:46:12 +0000 (10:46 +0100)
commite3631d1c809e368a5116d01e4fb9b9c7d2dddcca
tree11e28829c6af02de47023cc392109d5056cdb30a
parent118cf9523b94a6be0d45b2fa59ef37f2e89454da
basic: split out update_reboot_parameter_and_warn() into its own .c/.h files

This is primarily preparation for a follow-up commit that adds a common
implementation of the other side of the reboot parameter file, i.e. the
code that reads the file and issues reboot() for it.
src/basic/meson.build
src/basic/reboot-util.c [new file with mode: 0644]
src/basic/reboot-util.h [new file with mode: 0644]
src/basic/util.c
src/basic/util.h
src/core/emergency-action.c
src/systemctl/systemctl.c