NetBSD-Users archive

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

Re: /etc/rc.d/iscsictl script



On Sun 26 Jul 2026 at 10:35:39 +0200, BERTRAND Joël wrote:
> 	Second question. I want to disconnect iscsi devices. But this
> disconnection should be done /after/ /etc/rc.d/bacula stop. I haven't
> found any option in rcorder to be sure that /etc/rc.d/iscsictl stop is
> called /after/ /etc/rc.d/bacula stop.

Shutdown calls /etc/rc.shutdown which runs the rc scripts in the
opposite order of the startup. So I guess you would need to specify that
iscsi's rc script runs before bacula in the startup order (which sounds
like that would be the case already anyway). Both should include
"KEYWORD: shutdown" to be considered for running at shutdown.

> 	JB
-Olaf.
-- 
___ Olaf 'Rhialto' Seibert                            <rhialto/at/falu.nl>
\X/ There is no AI. There is just someone else's work.           --I. Rose

Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index