Re: applied, non-theoretical use of systemd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Bill Nottingham wrote:
> OK. So the question is ... what does this button do? Invoke 'halt'?
> Invoke 'shutdown -h now'? Invoke ConsoleKit's Stop() method?

Assuming you run KDM, the button invokes KDM's API for shutting down. So 
that reduces the question to what KDM does. If you don't run KDM, we have a 
Fedora patch to fall back to ConsoleKit Stop() (the kdebase-workspace-*-ck-
shutdown.patch).

What KDM does is that it runs (as root, like all of KDM) the command given 
by its HaltCmd option, which defaults to its HALT_CMD macro, which is 
defined on GNU/Linux as "/sbin/halt". However, I see that we override this 
in our default kdmrc in kde-settings-kdm as "HaltCmd=/sbin/poweroff".

        Kevin Kofler

-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux