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

[-- Attachment #1 --]
Dear Colleagues,

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

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 ? 

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

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----

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

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