On Thu, 2021-03-11 at 12:08 +0000, Dave Howorth wrote:
> On Thu, 11 Mar 2021 11:00:04 +0000
> Patrick O'Callaghan <pocallag...@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

I wasn't aware of the @reboot crontab option. Certainly a viable
alternative, thanks.

poc

_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to