2
rated 0 times
[
2]
[
0]
/ answers: 1 / hits: 20896
/ 2 Years ago, thu, october 27, 2022, 1:54:42
How can I run a command before the machine automatically shuts down?
More From » shutdown
How can I run a command before the machine automatically shuts down?
How about to put a script in the correct runlevel?
I think runlevel 6 is shutdown, and then the directory to play in is
/etc/rc6.d/