Debian Codegraph @

upstream/debian-unstable/man5/rcS.5

raw
1 .TH rcS 5 "21 May 2012" "" "Debian Administrator's Manual"
2 .SH NAME
3 rcS \- variables that affect the behavior of boot scripts
4 .SH DESCRIPTION
5 The
6 .I /etc/default/rcS
7 file contains variable settings in POSIX format:
8 .IP "" .5i
9 VAR=VAL
10 .PP
11 Only one assignment is allowed per line.
12 Comments (starting with '#') are also allowed.
13
14 .PP
15 \fBNOTE: This file is ignored when systemd is used as init system.\fP
16
17 .SH OPTIONS
18 The following variables can be set.
19
20 .IP \fBTMPTIME\fP
21 On boot the files in /tmp will be deleted if their modification time,
22 file status time and access time are all at least TMPTIME days ago.
23 A value of 0 means that files are removed regardless of age.
24 If you don't want the system to clean /tmp
25 then set TMPTIME to a negative value (e.g., \-1)
26 or to the word \fIinfinite\fP.
27
28 .IP \fBSULOGIN\fB
29 Setting this to
30 .B yes
31 causes init to spawn a
32 .B sulogin
33 on the console early in the boot process.
34 If the administrator does not login
35 then the sulogin session will time out
36 after 30 seconds and the boot process will continue.
37
38 .IP \fBDELAYLOGIN\fB
39 Normally the system will not let non-root users log in
40 until the boot process is complete
41 and the system has finished switching
42 to the default runlevel (usually level 2).
43 However, in theory it is safe to log in a bit earlier,
44 namely, as soon as \fBinetd\fP has started.
45 Setting the variable to \fBno\fP allows earlier login;
46 setting the variable to \fByes\fP prevents it.
47
48 Some details:
49 The \fBDELAYLOGIN\fP variable controls whether or not the
50 file \fI/run/nologin\fP is created during
51 the boot process and deleted at the end of it.
52 The \fBlogin\fP(1) program refuses to allow non-root logins so long
53 as \fI/run/nologin\fP exists.
54 If you set the variable to \fBno\fP then it is advisable to ensure
55 that \fI/run/nologin\fP does not exist.
56
57 .IP \fBVERBOSE\fP
58 Choose, whether boot process should be verbose
59 (value
60 .BR yes )
61 or quiet (value
62 .BR no ).
63 Setting this variable to any other value results in undefined behaviour.
64
65 .IP \fBFSCKFIX\fP
66 When the root and all other file systems are checked,
67 .B fsck
68 is invoked with the \fB\-a\fP option
69 which means "autorepair".
70 If there are major inconsistencies
71 then the fsck process will bail out.
72 The system will print a message
73 asking the administrator to repair the file system manually
74 and will present a root shell prompt
75 (actually a \fIsulogin\fP prompt)
76 on the console.
77 Setting this option to \fByes\fP causes the fsck commands
78 to be run with the \fB\-y\fP option instead of the \fB\-a\fP option.
79 This will tell fsck always to repair the file systems
80 without asking for permission.
81
82 .IP \fBASYNCMOUNTNFS\fP
83 Set this to 'no' to disable asynchronous mounting of network drives
84 when the network interfaces are mounted, and instead do it only once
85 when the machine boots. The default is 'yes' unless ip= or nfsroot= is
86 specified on the kernel command line. It is useful to
87 disable this on machines where the root file system is NFS, until ifup
88 from ifupdown works properly in such setup.
89 .IP
90 Note that, in this case, the network interfaces to access the NFS host must be
91 marked 'auto'
92 .RB ( NOT " 'allow\-hotplug')"
93 in \fB/etc/network/interfaces\fP.
94
95 .IP \fBEXTRAKERNELFS\fP
96 A space separated list of additional optional kernel filesystems to mount. The
97 current available options are \fBdebugfs\fP and \fBcgroup2\fP.
98
99 .SH NOTE
100 The \fBEDITMOTD\fP, \fBRAMRUN\fP, \fBCONCURRENCY\fP and \fBUTC\fP variables are
101 no longer used. To inhibit concurrent boot, use
102 .B "concurrency=none"
103 kernel command line argument.
104 .P
105 The \fBRAMLOCK\fP, \fBRAMSHM\fP and \fBRAMTMP\fP variables have
106 been moved to /etc/default/tmpfs; RAMSHM and RAMTMP settings in rcS
107 are used (if set) for backward compatibility, but will be overridden
108 by settings enabled in /etc/default/tmpfs. See
109 .BR tmpfs (5)
110 for further details. The settings are not automatically migrated to
111 /etc/default/tmpfs. Please update /etc/default/tmpfs appropriately.
112 The UTC setting is replaced by the UTC or LOCAL setting in
113 /etc/adjtime, and should have been migrated automatically. See
114 .BR hwclock (5)
115 and
116 .BR hwclock (8)
117 for further details on configuring the system clock.
118
119 .SH AUTHOR
120 Miquel van Smoorenburg <[email protected]>
121 Roger Leigh <[email protected]>
122
123 .SH SEE ALSO
124 .BR fsck (8),
125 .BR hwclock (5),
126 .BR hwclock (8),
127 .BR inetd (8),
128 .BR init (8),
129 .BR inittab (5),
130 .BR login (1),
131 .BR tmpfs (5).