Which scripts are executed at shutdown time?
I'd like to add AutoFsck to the set of processes which are called at shutdown time, but I'm not running gdm, xdm, or kdm. By default, AutoFsck inserts a script into gdm's PostProcess/Default (but that doesn't get called on my computer, since gdm isn't running). I'd like to find the equivalent of /etc/init.d for shutdown tasks, and I want to be certain that the script will be called after the root partition is unmounted, because I don't want to run fsck while / is mounted. (Otherwise, I would just run it on the command prompt every now and then!)
I do see Ubuntu's shutdown splash screen, so I know that that process is running, and it continues to run after / is unmounted.
If anyone can help, thank you!!!
-- Jim
P.S. Sorry if this is not the right forum for information requests--- a lot of the messages here seem to be about bugs and crashes.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Terence Simpson
- Solved:
- Last query:
- Last reply: