From e2fa5721c3ee5ea400b99a6463e8c1c257e20415 Mon Sep 17 00:00:00 2001 From: Daniel Mack Date: Wed, 22 Apr 2015 17:20:42 +0200 Subject: logind: add code for UTMP wall messages Add a timer to print UTMP wall messages so that it repeatedly informs users about a scheduled shutdown: * every 1 minute with less than 10 minutes to go * every 15 minutes with less than 60 minutes to go * every 30 minutes with less than 180 minutes (3 hours) to go * every 60 minutes if more than that to go This functionality only active if the .EnableWallMessages DBus property is set to true. Also, a custom string can be added to the wall message, set through the WallMessagePrefix property. --- Makefile.am | 1 + 1 file changed, 1 insertion(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index f936534e47..e22b2e39eb 100644 --- a/Makefile.am +++ b/Makefile.am @@ -5987,6 +5987,7 @@ libsystemd_logind_core_la_SOURCES = \ src/login/logind-session-dbus.c \ src/login/logind-seat-dbus.c \ src/login/logind-user-dbus.c \ + src/login/logind-utmp.c \ src/login/logind-acl.h libsystemd_logind_core_la_LIBADD = \ -- cgit v1.2.3-54-g00ecf