summaryrefslogtreecommitdiffstats
path: root/sbin/init/init.8
diff options
context:
space:
mode:
authornate <nate@FreeBSD.org>1994-08-27 21:32:01 +0000
committernate <nate@FreeBSD.org>1994-08-27 21:32:01 +0000
commit398581a79d2c3d05edaf080a2a7a58f3d6ecbece (patch)
tree6a15dfa4b4604143e9ce946963e29f5c77bb89e9 /sbin/init/init.8
parent991b08fc7adff13fbe1b7b06a898a818433eca4e (diff)
downloadFreeBSD-src-398581a79d2c3d05edaf080a2a7a58f3d6ecbece.zip
FreeBSD-src-398581a79d2c3d05edaf080a2a7a58f3d6ecbece.tar.gz
Bring in my changes from the 1.1 init.bsdi which causes a reboot (was a
halt before) if init is sent an interrupt signal. This is necessary for <CTL><ALT><DEL> to do the right thing if enabled.
Diffstat (limited to 'sbin/init/init.8')
-rw-r--r--sbin/init/init.89
1 files changed, 9 insertions, 0 deletions
diff --git a/sbin/init/init.8 b/sbin/init/init.8
index 71e3184..50caf0c 100644
--- a/sbin/init/init.8
+++ b/sbin/init/init.8
@@ -229,6 +229,15 @@ This hook is used by
and
.Xr halt 8 .
.Pp
+.Nm Init
+will terminate all possible processes (again, it will not wait
+for deadlocked processes) and reboot the machine if sent the interrupt
+.Pq Dv INT
+signal, i.e.
+.Dq Li "kill \-INT 1".
+This is useful for shutting the machine down cleanly from inside the kernel
+or from X when the machines appears to be hung.
+.Pp
The role of
.Nm init
is so critical that if it dies, the system will reboot itself
OpenPOWER on IntegriCloud