View Single Post
Old 09-05-2019, 05:50 PM   #35
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@Lucas Malor: But poweroff does, and poweroff *is* the halt applet in busybox (this is incidentally why I linked to the source of the applet because it made that fact fairly obvious, even if you're not familiar with busybox's applet backend) .

----

And, yeah, your script will definitely get shafted by a suspend, resuming only on... resume .

(EDIT: And someone already mentioned KOReader's own sleep script logging as an example, so, good job, everyone ).

I'm not familiar with /etc/pm/sleep.d, but that sounds like something controlled by a fancy-ish init system, which, err, is definitely not applicable to the Kobo, since they're using one of the simplest boot process out there (especially as opposed, to say, a Kindle, where upstart's depgraph can induce chtulhuesque nightmares). .
(It's also not the case on my desktop w/ OpenRC, FWIW).

EDIT: Wheee, missed a new page! .

Last edited by NiLuJe; 09-05-2019 at 05:53 PM.
NiLuJe is offline   Reply With Quote