Re: [Emc-users] Graceful pi shutdown, power off

2022-02-20 Thread Chris Albertson
I think you already have what you need. "shutdown -h now" does not immediately power down the system. It sends a "SIGTERM" signal to each process, waits then unmounts the file system then halts. If your software had a "SIGTERM" signal handler then it could ask if you want to save data. Some

Re: [Emc-users] Graceful pi shutdown, power off

2022-02-20 Thread Thaddeus Waldner
I got this put together. https://youtu.be/tKHrTkvBHCg One lingering question (for now). The shutdown script calls “sudo shutdown -h now” I’d like something a bit softer. For example, if there’s an unsaved change in an open program, the program should be able to interrupt the shutdown. What sh

Re: [Emc-users] small hole needle gauge thingy

2022-02-20 Thread fxkl47BF--- via Emc-users
> On Fri, 18 Feb 2022, ken.stra...@gmail.com wrote: > >> Promised pictures attached >> >> -Original Message- >> From: fxkl47BF--- via Emc-users >> Sent: February 17, 2022 9:07 PM >> To: Enhanced Machine Controller \(EMC\) >> Cc: fxkl4...@protonmail.com >> Subject: Re: [Emc-users] small ho