]> git.ipfire.org Git - thirdparty/systemd.git/commit
logind: allow dry run variants for scheduled shutdowns
authorDaniel Mack <daniel@zonque.org>
Wed, 9 Sep 2015 15:05:03 +0000 (17:05 +0200)
committerDaniel Mack <daniel@zonque.org>
Wed, 9 Sep 2015 15:52:11 +0000 (17:52 +0200)
commit1389f4b95877f29cb357baee837d9c05e64df0c6
tree6099c4fb9dc5f1f059e9b194a8378feb66d01f21
parent37b76fd3ee5a03d76786e7bd1e0f8596e6ce47d6
logind: allow dry run variants for scheduled shutdowns

Allow passing a "dry-" prefix to the action parameter passed to
.ScheduleShutdown(). When strings with this prefix are passed,
the scheduled action will not take place. Instead, an info message
is logged.
src/login/logind-dbus.c
src/login/logind.h