Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Apr 2019 10:11:27 +0700
From:      Victor Sudakov <vas@mpeks.tomsk.su>
To:        freebsd-questions@freebsd.org
Subject:   rcorder, script to be executed last?
Message-ID:  <20190423031127.GA2158@admin.sibptus.ru>

next in thread | raw e-mail | index | archive | help

--1yeeQ81UyVL57Vl7
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Dear Colleagues,

How do I create a rc.d script which would be guaranteed to execute last
(after all other scripts) on system shutdown?=20

I want to place "apcupcd --killpower" there (and some procedure to check
if this shutdown has been initiated by apcupcd).

Or should I place it directly into /etc/rc.shutdown ?=20

--=20
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
2:5005/49@fidonet http://vas.tomsk.ru/

--1yeeQ81UyVL57Vl7
Content-Type: application/pgp-signature; name="signature.asc"

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

iQEcBAEBAgAGBQJcvoJfAAoJEA2k8lmbXsY0OPIIAKLllHfkHeALL9gEkAbtWfez
EvgRcuL63pjWAookKpPnYK9kLmG5SbYB8KVDKBMJScn4uhwJWM3+hDG0tCBMmLRs
RhW0/OD3txOKLfxho8fckvAkW+TGNgC5IzGoArghj8WP+sjW567QRyPUowls/yUx
FpRgOmPqpbSdBprOlCsH1ANL5ojb7D3g+Aa6W1kV7E2f8MbwFMUycJWld+bfxNxn
b8fif5N4oCgXqbnpTFJ0hIhQN5VwcoI8HbOiO3BbpjVA1IOS8HvUjSW+wN8bHCES
UhvKStzzmI7Yt3Ra75NIDQNFjgtpGTszLq1pEFh3BRiXflpfomAjaKGdplxGyIU=
=hJ6a
-----END PGP SIGNATURE-----

--1yeeQ81UyVL57Vl7--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190423031127.GA2158>