summaryrefslogtreecommitdiff
path: root/sag-0.6.1-www/Invisible/sag-0.6/node77.html
blob: b3e72ce4ddc4535052202a6f8f256717950466e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<!--Converted with LaTeX2HTML 96.1-h (September 30, 1996) by Nikos Drakos (nikos@cbl.leeds.ac.uk), CBLU, University of Leeds -->
<HTML>
<HEAD>
<TITLE>Special configuration in /etc/inittab</TITLE>
<META NAME="description" CONTENT="Special configuration in /etc/inittab">
<META NAME="keywords" CONTENT="sag">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
<LINK REL=STYLESHEET HREF="sag.css">
</HEAD>
<BODY LANG="EN" >
 <A NAME="tex2html1281" HREF="node78.html"><IMG WIDTH=37 HEIGHT=24 ALIGN=BOTTOM ALT="next" SRC="./next_motif.gif"></A> <A NAME="tex2html1279" HREF="node73.html"><IMG WIDTH=26 HEIGHT=24 ALIGN=BOTTOM ALT="up" SRC="./up_motif.gif"></A> <A NAME="tex2html1273" HREF="node76.html"><IMG WIDTH=63 HEIGHT=24 ALIGN=BOTTOM ALT="previous" SRC="./previous_motif.gif"></A> <A NAME="tex2html1283" HREF="node1.html"><IMG WIDTH=65 HEIGHT=24 ALIGN=BOTTOM ALT="contents" SRC="./contents_motif.gif"></A> <A NAME="tex2html1284" HREF="node114.html"><IMG WIDTH=43 HEIGHT=24 ALIGN=BOTTOM ALT="index" SRC="./index_motif.gif"></A> <BR>
<B> Next:</B> <A NAME="tex2html1282" HREF="node78.html">Booting in single user </A>
<B>Up:</B> <A NAME="tex2html1280" HREF="node73.html">init</A>
<B> Previous:</B> <A NAME="tex2html1274" HREF="node76.html">Run levels</A>
<BR> <P>
<A NAME="2454">&#160;</A><H1><A NAME="SECTION00840000000000000000">Special configuration in <tt>/etc/inittab</tt></A></H1>
<P>
	The <tt>/etc/inittab</tt><A NAME="2456">&#160;</A> has some special features that allow
	<tt>init</tt><A NAME="2458">&#160;</A> to react to special circumstances. These special
	features are marked by special keywords in the third field.
	Some examples:
<P>
	<DL ><DT><STRONG><tt>powerwait</tt></STRONG>
<DD>
		Allows <tt>init</tt><A NAME="2460">&#160;</A> to shut the system down, when the
		power fails. This assumes the use of a UPS, and software
		that watches the UPS and informs <tt>init</tt><A NAME="2462">&#160;</A> that the
		power is off.
<P>
	<DT><STRONG><tt>ctrlaltdel</tt></STRONG>
<DD>
		Allows <tt>init</tt><A NAME="2464">&#160;</A> to reboot the system, when the user
		presses <TT>control-alt-del</TT> on the console keyboard.
		Note that the system administrator can configure the
		reaction to <TT>C-A-D</TT> to be something else instead,
		e.g., to be ignored, if the system is in a public
		location.<A NAME="tex2html37" HREF="footnode.html#2314"><IMG  ALIGN=BOTTOM ALT="gif" SRC="./foot_motif.gif"></A>
<P>
	<DT><STRONG><tt>sysinit</tt></STRONG>
<DD>
		Command to be run when the system is booted. This command
		usually cleans up <tt>/tmp</tt><A NAME="2468">&#160;</A>, for example.
<P>
</DL>
<P>
	The list above is not exhaustive. See your <em>inittab</em><A NAME="2470">&#160;</A>(5)
	manual page for all possibilities, and for details on how to use
	the above ones.
<P>
<BR> <HR>
<P><ADDRESS>
<I>Lars Wirzenius <BR>
Sat Nov 15 02:32:11 EET 1997</I>
</ADDRESS>
</BODY>
</HTML>