|
Linux 开机程序之研讨(14) 即使在 getty 结束之後 , 它也会重新被启动 .
ctrlaltdel : 想必有人会以键盘上的 Ctrl , Alt , 及 Del 这三个 键来达到使系统 shutdown 的目的 , 现在我们果然在 /etc/inittab 中看到了这一列 :
ca::ctrlaltdel:/sbin/shutdown -t3 -rf now
所以说 , 当我们按下这三个键的时候 , init 会收到 SIGINT 这个 signal , 接著就执行 shutdown 的动作 不过 , 我们最好不要养成按 Ctrl-Alt-Del 来使系统 shutdown 的习惯 , 尤其在单人多工的作业系统 , 像 OS/2 , 甚至 Windows 95 , shutdown 几乎都是标准 的关机程序了 , 更何况是多人多工的 LINUX , 所以 ,
|