| 1 |
.TH halt 5 "16 Jan 2007" "" "File Formats" |
| 2 |
.SH NAME |
| 3 |
halt \- variables that affect the behavior of the shutdown scripts |
| 4 |
.SH DESCRIPTION |
| 5 |
The |
| 6 |
.I /etc/default/halt |
| 7 |
file contains variable settings in POSIX format: |
| 8 |
.IP "" 0.5i |
| 9 |
VAR=VAL |
| 10 |
.PP |
| 11 |
Only one assignment is allowed per line. |
| 12 |
Comments |
| 13 |
(starting with '#') |
| 14 |
are also allowed. |
| 15 |
|
| 16 |
.SH OPTIONS |
| 17 |
The following variables can be set. |
| 18 |
|
| 19 |
.IP \fBHALT\fP |
| 20 |
If set to |
| 21 |
.B poweroff |
| 22 |
the system will be powered down after it has been brought down. |
| 23 |
This is the default. |
| 24 |
.br |
| 25 |
If set to |
| 26 |
.B halt |
| 27 |
the system will only be halted after it has been brought down. |
| 28 |
What exactly this means depends on your hardware. |
| 29 |
|
| 30 |
.IP \fBNETDOWN\fB |
| 31 |
Setting this to |
| 32 |
.B no |
| 33 |
prevents shutdown from shutting down the network interfaces. |
| 34 |
This is necessary to use Wake-On-Lan. |
| 35 |
Setting it to |
| 36 |
.B yes |
| 37 |
causes shutdown to also bring down the network interfaces (and |
| 38 |
thus prevent the machine from being woken up remotely). |
| 39 |
|
| 40 |
.SH SEE ALSO |
| 41 |
.BR halt "(8), " shutdown (8). |
| 42 |
|
| 43 |
.SH AUTHOR |
| 44 |
\fBCasper Gielen\fR <\&[email protected]\&> |
| 45 |
|
| 46 |
.SH COPYRIGHT |
| 47 |
This manual page is free software; |
| 48 |
you can redistribute it |
| 49 |
and/or modify it under the terms of the GNU General Public License |
| 50 |
as published by the Free Software Foundation; |
| 51 |
either version 2 of the License, |
| 52 |
or (at your option) any later version. |
| 53 |
.PP |
| 54 |
This manual page is distributed in the hope that it will be useful, |
| 55 |
but WITHOUT ANY WARRANTY; |
| 56 |
without even the implied warranty of MERCHANTABILITY |
| 57 |
or FITNESS FOR A PARTICULAR PURPOSE. |
| 58 |
See the GNU General Public License for more details. |
| 59 |
.PP |
| 60 |
You should have received a copy of the GNU General Public License along |
| 61 |
with this manual page; |
| 62 |
if not, write to the Free Software Foundation, |
| 63 |
Inc., 59 Temple Place, Suite 330, Boston, MA 02111\-1307 USA |