[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Shutdown hooks



On Sun, 2008.10.12, 286, Kumar Appaiah wrote:
> /etc/rc0.d and /etc/rc6.d should be where you should place hooks for
> running programs as you shut down or restart the machine
> respectively. The convention is to put the scripts in /etc/init.d and
> then create symlinks in /etc/rc<n>.d, best handled with update-rc.d.

The last statement directly contradicts the third paragraph of update-rc.d(8), 
which encourages administrators to edit the links dirctly (or use runlevel 
editors like sysv-rc-conf); perhaps that should be changed...?

Attachment: signature.asc
Description: Digital signature


Reply to: