Re: [systemd-devel] Launching script that needs network before suspend

2022-01-31 Thread Mantas Mikulėnas
On Mon, Jan 31, 2022 at 2:01 PM Lennart Poettering wrote: > On So, 23.01.22 22:13, Tomáš Hnyk (tomash...@gmail.com) wrote: > > > Hello, > > I have my computer hooked up to an AVR that runs my home cinema and > ideally > > I would like the computer to turn off the AVR when I turn it off or >

Re: [systemd-devel] Launching script that needs network before suspend

2022-01-31 Thread Lennart Poettering
On So, 23.01.22 22:13, Tomáš Hnyk (tomash...@gmail.com) wrote: > Hello, > I have my computer hooked up to an AVR that runs my home cinema and ideally > I would like the computer to turn off the AVR when I turn it off or suspend > it. The only way to do this is over network and I wrote a simple

Re: [systemd-devel] Launching script that needs network before suspend

2022-01-25 Thread Tomáš Hnyk
On Monday 24. January 2022, 18:56:59 (+01:00), Andrei Borzenkov wrote: > On 24.01.2022 17:37, Tomáš Hnyk wrote: > > > > > > On Monday 24. January 2022, 13:50:48 (+01:00), Andrei Borzenkov wrote: > > > > I posted it in response to the list and you sent personal reply. Please use > reply to all.

Re: [systemd-devel] Launching script that needs network before suspend

2022-01-24 Thread Andrei Borzenkov
On 24.01.2022 17:37, Tomáš Hnyk wrote: > > > On Monday 24. January 2022, 13:50:48 (+01:00), Andrei Borzenkov wrote: > I posted it in response to the list and you sent personal reply. Please use reply to all. >> On Mon, Jan 24, 2022 at 1:14 AM Tomáš Hnyk wrote: >>> >>> Hello, >>> I have my

Re: [systemd-devel] Launching script that needs network before suspend

2022-01-24 Thread Andrei Borzenkov
On Mon, Jan 24, 2022 at 1:14 AM Tomáš Hnyk wrote: > > Hello, > I have my computer hooked up to an AVR that runs my home cinema and ideally I > would like the computer to turn off the AVR when I turn it off or suspend it. > The only way to do this is over network and I wrote a simple script that

[systemd-devel] Launching script that needs network before suspend

2022-01-23 Thread Tomáš Hnyk
Hello, I have my computer hooked up to an AVR that runs my home cinema and ideally I would like the computer to turn off the AVR when I turn it off or suspend it. The only way to do this is over network and I wrote a simple script that does just that. Hooking it to shutdown was quite easy