On Sun, 2021-03-14 at 18:11 +1030, Tim via users wrote:
On Fri, 2021-03-12 at 11:18 +0000, Patrick O'Callaghan wrote:
> I do. The @reboot suggestion is only a partial solution. Given that
> the drive is automatically powered up on reboot (there seems to be no
> way to prevent this as it's triggered by the system scanning the USB
> bus) I need to be able to power it down, but currently there's no
> systemd mount event to cause this to happen. No doubt there's a more
> elegant way around this, but baby steps ...
A post-boot script?
That's essentially what the @reboot crontab entry does.
poc