On Wed, 12.03.14 19:13, WaLyong Cho (walyong....@samsung.com) wrote: > Enumerated states are added. That can have three state. startup, running > and shutdown. manager is starting up with startup state and change to > running if default job finish. And shutdown target is loaded then the > state will be changed to shutdown. This state can also be red > "GetSystemState" method call of manager interface.
I have now added a slightly more sophisticated scheme for a system-wide state. It's exposed externally as SystemState property on the manager object on the bus. And internally you can query it with manager_state(). Lennart -- Lennart Poettering, Red Hat _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel