View | Details | Raw Unified | Return to bug 158807
Collapse All | Expand All

(-)b/sbin/shutdown/shutdown.8 (-11 / +13 lines)
Lines 28-34 Link Here
28
.\"     @(#)shutdown.8	8.2 (Berkeley) 4/27/95
28
.\"     @(#)shutdown.8	8.2 (Berkeley) 4/27/95
29
.\" $FreeBSD$
29
.\" $FreeBSD$
30
.\"
30
.\"
31
.Dd December 30, 2010
31
.Dd July 11, 2011
32
.Dt SHUTDOWN 8
32
.Dt SHUTDOWN 8
33
.Os
33
.Os
34
.Sh NAME
34
.Sh NAME
Lines 83-102 If one of the Link Here
83
.Fl p
83
.Fl p
84
or
84
or
85
.Fl r
85
.Fl r
86
is specified,
86
options are specified,
87
.Nm
87
.Nm
88
will execute
88
will execute
89
.Xr halt 8
89
.Xr halt 8
90
or
90
or
91
.Xr reboot 8
91
.Xr reboot 8
92
instead of sending signal to
92
instead of sending a signal to
93
.Xr init 8 .
93
.Xr init 8 .
94
.It Fl n
94
.It Fl n
95
If the
95
If the
96
.Fl o
96
.Fl o
97
is specified, prevent the file system cache from being flushed by passing
97
option is specified, prevent the file system cache from being flushed by passing
98
.Fl n
98
.Fl n
99
option to
99
to
100
.Xr halt 8
100
.Xr halt 8
101
or
101
or
102
.Xr reboot 8 .
102
.Xr reboot 8 .
Lines 106-115 This option should probably not be used. Link Here
106
is the time at which
106
is the time at which
107
.Nm
107
.Nm
108
will bring the system down and
108
will bring the system down and
109
may be the word
109
may be the case-insensitive word
110
.Ar now
110
.Ar now
111
(indicating an immediate shutdown) or
111
(indicating an immediate shutdown) or
112
specify a future time in one of two formats:
112
a future time in one of two formats:
113
.Ar +number ,
113
.Ar +number ,
114
or
114
or
115
.Ar yymmddhhmm ,
115
.Ar yymmddhhmm ,
Lines 148-154 exits. Link Here
148
.Pp
148
.Pp
149
At shutdown time a message is written to the system log, containing the
149
At shutdown time a message is written to the system log, containing the
150
time of shutdown, the person who initiated the shutdown and the reason.
150
time of shutdown, the person who initiated the shutdown and the reason.
151
Corresponding signal is then sent to
151
The corresponding signal is then sent to
152
.Xr init 8
152
.Xr init 8
153
to respectively halt, reboot or bring the system down to single-user state
153
to respectively halt, reboot or bring the system down to single-user state
154
(depending on the above options).
154
(depending on the above options).
Lines 176-191 utility will place the system into single user mode at the Link Here
176
.Ar time
176
.Ar time
177
specified.
177
specified.
178
.Pp
178
.Pp
179
Calling utility as
179
Executing
180
.Nm poweroff
180
.Nm poweroff
181
is equivalent of calling:
181
is equivalent to:
182
.Bd -literal -offset indent
182
.Bd -literal -offset indent
183
shutdown -p now
183
shutdown -p now
184
.Ed
184
.Ed
185
.Sh FILES
185
.Sh FILES
186
.Bl -tag -width /var/run/nologin -compact
186
.Bl -tag -width /var/run/nologin -compact
187
.It Pa /var/run/nologin
187
.It Pa /var/run/nologin
188
tells login not to let anyone log in
188
tells
189
.Xr login 1
190
not to let anyone log in
189
.El
191
.El
190
.Sh COMPATIBILITY
192
.Sh COMPATIBILITY
191
The hours and minutes in the second time format may be separated by
193
The hours and minutes in the second time format may be separated by

Return to bug 158807