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

Re: Strang shutdown mechanism with Debian



> http://www.infodrom.north.de/Debian/Bugs/db/19/19507.html
> 
> Miquel van Smoorenborg states
> 
> - Sxx scripts in runlevels 0 and 6 should be executed with a "stop"
>   argument instead of "start" (!)
> 
> The regular boot/shutdown method is:
> 
>  . Loop over Knn scripts in normal order
>    - Call the scripts with an argument "stop"
> 
>  . Loop over Snn scripts in normal order
>    - Call the scripts with an argument "start"
> 
> Why is this different for the reboot (6) and halt (0) runlevel?

Additionally, which program calls /etc/init.d/reboot, /etc/init.d/halt
and /etc/init.d/single?

Regards,

	Joey

-- 
  / Martin Schulze  *  joey@infodrom.north.de  *  26129 Oldenburg /
 / The MS-DOS filesystem is nice for removable media             /
/                                             -- H. Peter Anvin /

Attachment: pgp_mqnVDWr1P.pgp
Description: PGP signature


Reply to: