Re: Guidance on automount/unmount for external powered devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2021-03-11 at 12:08 +0000, Dave Howorth wrote:
> On Thu, 11 Mar 2021 11:00:04 +0000
> Patrick O'Callaghan <pocallaghan@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux