You are not logged in.
Pages: 1
How could I get to run certain script before every shut down /reboot, halt (not suspension or hibernation). Do it the first thing before filesystems are unmounted. Is there any difference if the script need to be run as superuser or not? Say the script is at /usr/local/bin/pintouch
Offline
Look eg. at /usr/lib/systemd/system/systemd-tmpfiles-clean.service
Online
Pages: 1