5.6. 셧다운 과정 : Shutdown Sequence

shutdown, init명령을 통해 수행되는 셧다운은 /etc/rc.shutdown 스크립트를 수행하게 됩니다. 그리고 모든 프로세스에게 종료 시그널을 보내고 시간 내에 종료되지 않는 프로세스들에게는 강제 종료(kill) 시그널을 보냅니다.

Upon controlled shutdown, via shutdown, init will attempt to run the script /etc/rc.shutdown, and then proceed to send all processes the terminate signal, and subsequently the kill signal to any that don't terminate timely.