Hi Roger, thanks for your feedback. That's how it used to be in the "old" apm days. With fso-apmd (apm2) there is only a subset of the "real" apmd available, like suspend or show power status (which are retrieved via dbus from FSO). The mentioned directoreis are therefore not considered.
Christian On Monday, 7. March 2011 13:54:51 you wrote: > Hi, > > I have no time to dig further but I remember some scripts omnewrotate used > to restart after suspend. > they where located at /etc/apm/resume.d/ which looks quite promising. > > Greetings > Roger > > 2011/3/7 Christian Rüb <[email protected]> > > > On Friday, 4. March 2011 01:16:33 Michael Decker wrote: > > > > Sometimes I can manage to still open a terminal although many other > > programs fail and issue a shutdown with "init 0" (when shutdown and halt > > fail). > > > > Starting the device again all programs can be started normally. > > > > Sometimes I have no other choice than powering down my Freerunner by a > > long press of the power button, as it is not even possible to open a > > terminal. > > > > > > > > I cannot exactly tell since when I have this behaviour and would like > > to know if others have this too. > > > It has been some time but I believe I had the same problem (on SHR-U > > > from SDcard). I'm running the latest SHR-T from SD right now and there > > > it has not happened to me there as far as I can remember. > > > > > > Michael > > > > Thanks for your reply. for whatever reason it has not happened again since > > I have written this mail (still on SHR-U). > > > > Anyway it would be nice to know if there is a way to execute scripts before > > suspend and after resume (e.g. to turn off wifi). > > > > Christian > > _______________________________________________ > > Shr-User mailing list > > [email protected] > > http://lists.shr-project.org/mailman/listinfo/shr-user > > > _______________________________________________ Shr-User mailing list [email protected] http://lists.shr-project.org/mailman/listinfo/shr-user
