All of lore.kernel.org
 help / color / mirror / Atom feed
* Rtcwake s5 with poweroff
@ 2018-10-30 22:03 Justin Chen
  2018-10-31  9:07 ` Karel Zak
  0 siblings, 1 reply; 2+ messages in thread
From: Justin Chen @ 2018-10-30 22:03 UTC (permalink / raw)
  To: util-linux

Hello all,

I have a system that doesn't have "shutdown", instead it uses
"poweroff". For "rtcwake -m off" (s5), rtcwake sets the wakealarm and
then issues a shutdown command. I am thinking about putting together a
patch that will allow rtcwake to use "poweroff". It will first try to
look for the "shutdown" command and if it is not existent, use
"poweroff" instead. Are these changes acceptable?

Thanks,
Justin

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Rtcwake s5 with poweroff
  2018-10-30 22:03 Rtcwake s5 with poweroff Justin Chen
@ 2018-10-31  9:07 ` Karel Zak
  0 siblings, 0 replies; 2+ messages in thread
From: Karel Zak @ 2018-10-31  9:07 UTC (permalink / raw)
  To: Justin Chen; +Cc: util-linux

On Tue, Oct 30, 2018 at 03:03:07PM -0700, Justin Chen wrote:
> I have a system that doesn't have "shutdown", instead it uses
> "poweroff". For "rtcwake -m off" (s5), rtcwake sets the wakealarm and
> then issues a shutdown command. I am thinking about putting together a
> patch that will allow rtcwake to use "poweroff". It will first try to
> look for the "shutdown" command and if it is not existent, use
> "poweroff" instead. Are these changes acceptable?

Yes, send patch. 

    Karel

-- 
 Karel Zak  <kzak@redhat.com>
 http://karelzak.blogspot.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-10-31  9:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-30 22:03 Rtcwake s5 with poweroff Justin Chen
2018-10-31  9:07 ` Karel Zak

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.