rcS(5)
π rcS β the manual page, but make it cute
okay so bestie, welcome to rcS(5) from the Debian Administrator's Manual π this is the lil' page about the variables that affect the behavior of boot scripts. yes, boot scripts. the ones that wake your machine up before your coffee even brews. iconic behavior fr fr β¨
β¨ NAME β¨
rcS β variables that affect the behavior of boot scripts π¦
πΈ DESCRIPTION πΈ
The /etc/default/rcS file contains variable settings in POSIX format, and that format is literally just:
VAR=VAL
Only one assignment is allowed per line, no cap. Comments are allowed too β they start with # π¬
NOTE: this file is ignored when systemd is used as init system. so if you're on systemd, this whole vibe check is for someone else, bestie π
π OPTIONS π
these are the variables you can set. let's go one by one, no skips, we're thorough here π
TMPTIMEβ on boot, the files in/tmpget deleted if their modification time, file status time and access time are all at leastTMPTIMEdays ago. A value of0means files are removed regardless of age (so, all of them, no questions asked π«£). If you don't want the system cleaning/tmpat all, setTMPTIMEto a negative value (e.g.,-1) or to the wordinfinite. that's your get-out-of-jail card πSULOGINβ setting this toyescausesinitto spawn asuloginon the console early in the boot process. If the administrator does not login, then thesuloginsession will time out after 30 seconds and the boot process will continue. so like, you have 30 seconds to be the main character β³DELAYLOGINβ normally the system will not let non-root users log in until the boot process is complete and the system has finished switching to the default runlevel (usually level 2). However, in theory it is safe to log in a bit earlier β namely, as soon asinetdhas started. Setting the variable tonoallows earlier login; setting the variable toyesprevents it.
some details, because details matter: the DELAYLOGIN variable controls whether or not the file /run/nologin is created during the boot process and deleted at the end of it. The login(1) program refuses to allow non-root logins so long as /run/nologin exists. If you set the variable to no then it is advisable to ensure that /run/nologin does not exist. π
VERBOSEβ choose whether the boot process should be verbose (valueyes) or quiet (valueno). Setting this variable to any other value results in undefined behaviour. so like... don't. that's the whole warning π«FSCKFIXβ when the root and all other file systems are checked,fsckis invoked with the-aoption which means "autorepair". If there are major inconsistencies then thefsckprocess will bail out. The system will print a message asking the administrator to repair the file system manually and will present a root shell prompt (actually asuloginprompt) on the console. Setting this option toyescauses thefsckcommands to be run with the-yoption instead of the-aoption. This will tellfsckalways to repair the file systems without asking for permission. soyeshere is the "just do it, no questions" setting π₯ASYNCMOUNTNFSβ set this to'no'to disable asynchronous mounting of network drives when the network interfaces are mounted, and instead do it only once when the machine boots. The default is'yes'unlessip=ornfsroot=is specified on the kernel command line. It is useful to disable this on machines where the root file system is NFS, untilifupfromifupdownworks properly in such setup.
note that, in this case, the network interfaces to access the NFS host must be marked'auto'(NOT'allow-hotplug') in/etc/network/interfaces. π«Ά
π NOTE π
The EDITMOTD, RAMRUN, CONCURRENCY and UTC variables are no longer used. To inhibit concurrent boot, use concurrency=none kernel command line argument. rip to those variables, they served their time ποΈ
The RAMLOCK, RAMSHM and RAMTMP variables have been moved to /etc/default/tmpfs; RAMSHM and RAMTMP settings in rcS are used (if set) for backward compatibility, but will be overridden by settings enabled in /etc/default/tmpfs. See tmpfs(5) for further details. The settings are not automatically migrated to /etc/default/tmpfs. Please update /etc/default/tmpfs appropriately. π
The UTC setting is replaced by the UTC or LOCAL setting in /etc/adjtime, and should have been migrated automatically. See hwclock(5) and hwclock(8) for further details on configuring the system clock. β°
π§ AUTHOR π§
Miquel van Smoorenburg <miquels@cistron.nl> Roger Leigh <rleigh@debian.org>
legends, honestly π
π SEE ALSO π
fsck(8), hwclock(5), hwclock(8), inetd(8), init(8), inittab(5), login(1), tmpfs(5).
and that's the whole page, bestie!! this one is from the Debian Administrator's Manual, dated 21 May 2012, and the man page itself is rcS(5) π go forth and configure your boot scripts responsibly, mwah πβ¨
π¦ where this page comes from
- debian trixie: initscripts 3.14-4 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms