Objective, to shut the system down from a shell script.
This command line, as found in shell script that worked in LM 18.3, no longer works.:
dbus-send --system --print-reply --dest=org.freedesktop.ConsoleKit /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Stop
Error message returned.
Error org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.ConsoleKit was not provided by any .service files
Attempts at self help: Google, no significant help, just references to Gnome power manager. Perusal of the man page for dbus-send, Too terse and lacking in examples or diagnostic help. Advice please. Thanks.