Στις 1/5/24 22:53, ο/η Lorenzo έγραψε:
Did you take it from void linux? (I think I saw a similar finish
file there) In any case I'm not convinced by the finish file:

not sure, had these runscripts compiled from various sources (antix, void iirc), so could be...

Ok, we don't want to keep restarting if there is a permanent
failure condition, but there are others condition like this
that are not catched by [ $1 = 17 ]

I had a look at smartd(8) and found the '-q onecheck' option
and I'm using it as a test, so the runscript becomes >
and there is no need for the finish file.
Could you test if it works for you? If you have a system with
no devices suitable for smartd it should put the service down
the same way as the finish file does.

tested just now and it works, but currenty away from "base", no other incompatible devices to test atm..
will do next week..


thanks,
d.

Reply via email to