Re: Disable systemd script just by removing execute permission?

2022-07-01 Thread Greg Wooledge
On Fri, Jul 01, 2022 at 10:37:17AM +0100, Ottavio Caruso wrote: > On 30/06/2022 12:09, Greg Wooledge wrote: > > On Thu, Jun 30, 2022 at 11:30:25AM +0100, Ottavio Caruso wrote: > > > $ cat /usr/lib/systemd/system-sleep/tlp > > > #!/bin/sh > > > > > > # tlp - systemd suspend/resume hook > > > # >

Re: Disable systemd script just by removing execute permission?

2022-06-30 Thread Greg Wooledge
On Thu, Jun 30, 2022 at 11:30:25AM +0100, Ottavio Caruso wrote: > $ cat /usr/lib/systemd/system-sleep/tlp > #!/bin/sh > > # tlp - systemd suspend/resume hook > # > # Copyright (c) 2022 Thomas Koch and others. > # This software is licensed under the GPL v2 or later. > > case $1 in > pre)