On Linux, exists an rc.local matching for shutdown?
I've obtained a couple of commands that I run in
rc.local so they are run last in the startup series. I would love to recognize if there is a comparable center for ruin the outcomes of those commands at shutdown, like an
rc.shutdown. Preferably, it would certainly be run prior to any one of the various other
Not actually (at the very least, to my expertise).
If you've obtained SystemV design init manuscripts, you can create something along the lines of
/etc/rc6.K00scriptname and also
/etc/rc0.d/K00scriptname, which need to get implemented before any one of the various other manuscripts therein.