Skip to content

Instantly share code, notes, and snippets.

@dreamcat4
Created December 17, 2021 11:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dreamcat4/e2629ecce8f66dc22abddc37b88884a3 to your computer and use it in GitHub Desktop.
Save dreamcat4/e2629ecce8f66dc22abddc37b88884a3 to your computer and use it in GitHub Desktop.
[id@void-live etc]$ bat --pager=never -lbash /etc/66rc.conf
───────┬────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
│ File: /etc/66rc.conf
───────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
1 │ # Copyright (c) 2015-2021 Eric Vidal <eric@obarun.org>
2 │ # All rights reserved.
3 │ #
4 │ # This file is part of Obarun. It is subject to the license terms in
5 │ # the LICENSE file found in the top-level directory of this
6 │ # distribution.
7 │ # This file may not be copied, modified, propagated, or distributed
8 │ # except according to the terms contained in the LICENSE file.
9 │ #
10 │ # System configuration file for a boot process running s6/s6-rc
11 │ # supervision suite and handled by 66 suite program.
12 │ #
13 │ # Do not use quotes or double-quotes on this file
14 │ #
15 │ # The '!' is used to not export the variable on the environment.
16 │ # If you want to keep it, remove the exclamation mark '!'.
17 │ #
18 │
19 │ #========================== WARNING ====================================
20 │
21 │ #
22 │ # Do not forget to enable again the boot@ module after editing
23 │ # this file to apply your changes at the next reboot e.g:
24 │ # 66-enable -F -t boot boot@system
25 │ #
26 │
27 │ #======================= Global Settings ===============================
28 │
29 │ ## Set your HOSTNAME.
30 │
31 │ HOSTNAME=!voidlinux
32 │
33 │ ## Set your timezone, available timezones can be found at /usr/share/zoneinfo.
34 │
35 │ TZ=!Europe/Madrid
36 │
37 │ ## Set the number of tty(s) to start.
38 │ ## 0 means no tty. Maximum is 11.
39 │
40 │ TTY=!4
41 │
42 │ ## Console keymap to load, see loadkeys(8).
43 │
44 │ KEYMAP=!us
45 │
46 │ ## Console font to load, see setfont(8).
47 │
48 │ FONT=!lat9w-16
49 │
50 │ ## Console map to load, see setfont(8).
51 │
52 │ #FONT_MAP=
53 │
54 │ ## Console unimap to load, see setfont(8).
55 │
56 │ #FONT_UNIMAP=
57 │
58 │
59 │ #========================== Devices ====================================
60 │
61 │ ## Mount devices from FSTAB file [yes|no].
62 │
63 │ FSTAB=!yes
64 │
65 │ ## Active swap [yes|no].
66 │
67 │ SWAP=!no
68 │
69 │ ## Active lvm devices [yes|no].
70 │
71 │ LVM=!no
72 │
73 │ ## Active dmraid devices [yes|no].
74 │
75 │ DMRAID=!no
76 │
77 │ ## Active btrfs devices [yes|no].
78 │
79 │ BTRFS=!no
80 │
81 │ ## Mount zfs devices [yes|no].
82 │
83 │ ZFS=!no
84 │
85 │ ## Zpool Import method [scan|zpoolcache]
86 │ ## It has no effects if ZFS is set to no or commented.
87 │
88 │ ZFS_IMPORT=!zpoolcache
89 │
90 │
91 │ #=======================================================================
92 │
93 │
94 │ #=================== Advanced user configuration =======================
95 │
96 │ #
97 │ # If you don't know what the following variables do, you
98 │ # don't need to change them. The machine will still boot
99 │ # with the default values
100 │ #
101 │
102 │ #=======================================================================
103 │
104 │
105 │ #====================== System configuration ===========================
106 │
107 │ ## Setup the console
108 │ ## If set to no, KEYMAP,FONT,FONT_MAP,FONT_UNIMAP has no effects
109 │
110 │ SETUPCONSOLE=!yes
111 │
112 │ ## Set RTC [UTC|localtime].
113 │
114 │ HARDWARECLOCK=localtime
115 │
116 │ ## Use udev [yes|no]
117 │ ## If set to no the following variables has no effects or set to no:
118 │ ## SETUPCONSOLE, KEYMAP, FONT, FONT_MAP, FONT_UNIMAP, CRYPTTAB, DMRAID,
119 │ ## BTRFS, LVM
120 │
121 │ UDEV=!yes
122 │
123 │ ## Kernel configuration with sysctl [yes|no].
124 │
125 │ SYSCTL=!yes
126 │
127 │ ## Force a check of filesystem partition [yes|no].
128 │
129 │ FORCECHCK=!no
130 │
131 │ ## Use rc.local script [yes|no].
132 │
133 │ LOCAL=!no
134 │
135 │ ## Boot inside a container [yes|no].
136 │ ## If set to yes the following variables have no effect or are set to no:
137 │ ## HARDWARECLOCK, SETUPCONSOLE, KEYMAP, FONT, FONT_MAP, FONT_UNIMAP, CRYPTTAB
138 │ ## SWAP, LVM, DMRAID, BTRFS, ZFS, UDEV, SYSCTL, FORCECHCK, CGROUPS
139 │ ## MODULE_SYSTEM, RANDOMSEED, MNT_NETFS
140 │
141 │ CONTAINER=!no
142 │
143 │ ## Load kernel modules [yes|no].
144 │
145 │ MODULE_KERNEL=!yes
146 │
147 │ ## Load modules from modules.d files
148 │
149 │ MODULE_SYSTEM=!yes
150 │
151 │ ## Populate ramdom seed
152 │
153 │ RANDOMSEED=!yes
154 │
155 │
156 │ #========================== Security ===================================
157 │
158 │ ## Active encrypted devices [yes|no].
159 │
160 │ CRYPTTAB=!no
161 │
162 │ ## Firewall program to use [iptables|ip6tables|nftables|ebtables|arptables]
163 │ ## Comment to not use any firewall at all.
164 │
165 │ #FIREWALL=
166 │
167 │
168 │ #========================== Pseudo filesystem ==========================
169 │
170 │ ## Mount cgroups [yes|no].
171 │
172 │ CGROUPS=!yes
173 │
174 │ ## Mount /proc directory [yes|no].
175 │
176 │ MNT_PROC=!yes
177 │
178 │ ## Mount /sys directory [yes|no].
179 │
180 │ MNT_SYS=!no
181 │
182 │ ## Mount /dev directory [yes|no].
183 │
184 │ MNT_DEV=!yes
185 │
186 │ ## Mount /run directory [yes|no].
187 │
188 │ MNT_RUN=!yes
189 │
190 │ ## Mount /tmp directory [yes|no].
191 │
192 │ MNT_TMP=!yes
193 │
194 │ ## Mount /dev/pts directory [yes|no].
195 │ ## Only valuable if MNT_DEV is set to yes.
196 │
197 │ MNT_PTS=!yes
198 │
199 │ ## Mount /dev/shm directory [yes|no].
200 │ ## Only valuable if MNT_DEV is set to yes.
201 │
202 │ MNT_SHM=!yes
203 │
204 │ ## Mount no-network filesystem [yes|no].
205 │ ## Fstype mounted is: nosysfs,nonfs,nonfs4,nosmbfs,nocifs
206 │
207 │ MNT_NETFS=!yes
208 │
209 │ ## Create and mount /sys/firmware/efi/efivars, /sys/fs/fuse/connections,
210 │ ## /sys/kernel/{config,debug,security} and /sys/kernel/debug/tracing
211 │ ## if exist at /proc/filesystems
212 │
213 │ POPULATE_SYS=!yes
214 │
215 │ ## Create and mount /dev/{hugepages,mqueue}
216 │ ## if exist at /proc/filesystems
217 │
218 │ POPULATE_DEV=!yes
219 │
220 │ ## Create /run/{lvm,user,lock,utmp} directories
221 │
222 │ POPULATE_RUN=!yes
223 │
224 │ ## Create /tmp/{.X11-unix,.ICE-unix} files
225 │
226 │ POPULATE_TMP=!yes
227 │
───────┴────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
[id@void-live etc]$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment