[systemd-devel] Guidance on automount/unmount for external powered devices
Dave Howorth
systemd at howorth.org.uk
Thu Mar 11 12:08:38 UTC 2021
On Thu, 11 Mar 2021 11:00:04 +0000
Patrick O'Callaghan <pocallaghan at gmail.com> wrote:
> Unfortunately a system reboot always leaves it in the 'powered up and
> present in /dev/md' state, so I have to manually run the power-down
> script every time I reboot. This is inelegant.
There may be better ways, but could you use an @reboot crontab entry
containing something like
sleep 30 && do-whatever-you-need-to-issue-the-power-down
More information about the systemd-devel
mailing list