You are not logged in.
Basically, I'd like to have a script run when I restart or shutdown the system (from the Gnome GUI, not from the shell). Is there an equilivant to /etc/rc.local for shutdown?
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Or you could create your own custom /etc/rc.d script. They run after /etc/rc.local.shutdown, so if you need to do something after your daemons have stopped, you'll need to do it this way, and arrange for that daemon to run last. (Putting it at the start of DAEMONS will make it run pretty late during shutdown, but it won't necessarily be the last daemon to run...daemons that don't appear in DAEMONS but were run by hand will be shut down last.)
Offline
Very helpful, thanks guys!
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline