Re: /etc/rc.d/iscsictl script

Rhialto <[email protected]> Sun, 26 Jul 2026 14:07:41 +0200
Newsgroups gmane.os.netbsd.general
Message-ID <[email protected]>
--+UsZCh0mbrf/LKef
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun 26 Jul 2026 at 10:35:39 +0200, BERTRAND Jo=EBl 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.
--=20
___ Olaf 'Rhialto' Seibert                            <rhialto/at/falu.nl>
\X/ There is no AI. There is just someone else's work.           --I. Rose

--+UsZCh0mbrf/LKef
Content-Type: application/pgp-signature; name=signature.asc

-----BEGIN PGP SIGNATURE-----

iQFPBAEBCAA5FiEEFVAhiiWjqgwBVdQAmYnGRWHD+9MFAmpl+IkbFIAAAAAABAAO
bWFudTIsMi41KzEuMTIsMiwzAAoJEJmJxkVhw/vT0hIH/1ve8yR0NGqy95zf8lFM
uSBNF74f3Mgpl2Jp2qbBmewAF9ERG/dG9AfNTsPIw5g2HwiRuGrFhQp83LANkx0b
M40UwyVnBvO0H1SJCws2NyiqLqGrTIwQ1DyYn0+TRoR7DCnSgigxgsMdCJbTJy9+
e70OxbpulSBQH2pi80vajBx5GY1RaKoeqKL4cQePYt1bIzk73atCKd6zKcWTZzI3
QRYTkDu+Vq8Py6lDq9xerDrojYtCuTkH4kb9Dk2TVPXgvNKguakYMOHMka1qkMS3
26Q8CE2XBs01gWSSi6WjMJ+oz9VWRcZT1iDw1fmAOpCtUY93oAVXeXj5W2OIJGnB
vZo=
=Gyd2
-----END PGP SIGNATURE-----

--+UsZCh0mbrf/LKef--