[main]
@type = module
@version = 2.3.1
@description = "Set of services to boot a machine"
@user = (root)

[regex]
@infiles = (
::@bootconf@=/etc/suite66/conf/boot@@I/version
::@scripts@=/etc/66/script
::@initconf@=/etc/66/init.conf
::@skeldir@=/etc/66
::@live_dir@=/run/66
::@vers@=2.3.1
)

[environment]
# Copyright (c) 2015-2021 Eric Vidal <eric@obarun.org>
# All rights reserved.
#
# This file is part of Obarun. It is subject to the license terms in
# the LICENSE file found in the top-level directory of this
# distribution.
# This file may not be copied, modified, propagated, or distributed
# except according to the terms contained in the LICENSE file.
#
# System configuration file for a boot process running s6/s6-rc
# supervision suite and handled by 66 suite program.
#
# Do not use quotes or double-quotes on this file
#
# The '!' is used to not export the variable on the environment.
# If you want to keep it, remove the exclamation mark '!'.
#
#========================== WARNING ====================================
#
# Do not forget to enable again the boot@ module after editing
# this file to apply your changes at the next reboot e.g:
# 66-enable -F -t boot boot@system
#
#======================= Global Settings ===============================

## Set your HOSTNAME.
## If unset/set to empty, /etc/hostname will be used instead.

#HOSTNAME=

## Set your timezone, available timezones can be found at /usr/share/zoneinfo.
## If unset/set to empty, /etc/localtime won't be overwritten if present.

#TZ=

# Set locale
LOCALE=!yes

## Set the number of tty(s) to start.
## 0 means no tty. Maximum is 11.

TTY=5

## Console keymap to load, see loadkeys(8).

KEYMAP=!us

## Console font to load, see setfont(8).

FONT=!lat9w-16

## Console map to load, see setfont(8).

#FONT_MAP=

## Console unimap to load, see setfont(8).

#FONT_UNIMAP=

#========================== Devices ====================================

## Mount devices from FSTAB file [yes|no].

FSTAB=!yes

## Active swap [yes|no].

SWAP=!no

## Active lvm devices [yes|no].

LVM=!no

## Active dmraid devices [yes|no].

DMRAID=!no

## Active btrfs devices [yes|no].

BTRFS=!no

## Mount zfs devices [yes|no].

ZFS=!no

## Zpool Import method [scan|zpoolcache]
## It has no effects if ZFS is set to no or commented.

ZFS_IMPORT=!zpoolcache

#=======================================================================
#=================== Advanced user configuration =======================
#
# If you don't know what the following variables do, you
# don't need to change them.  The machine will still boot
# with the default values
#
#=======================================================================

#====================== System configuration ===========================

## Setup the console
## If set to no, KEYMAP,FONT,FONT_MAP,FONT_UNIMAP has no effects

SETUPCONSOLE=!yes

## Set RTC [UTC|localtime].

HARDWARECLOCK=UTC

## Use udev [yes|no]
## If set to no the following variables has no effects or set to no:
## SETUPCONSOLE, KEYMAP, FONT, FONT_MAP, FONT_UNIMAP, CRYPTTAB, DMRAID,
## BTRFS, LVM

UDEV=!yes

## Kernel configuration with sysctl [yes|no].

SYSCTL=!yes

## Force a check of filesystem partition [yes|no].

FORCECHCK=!no

## Use rc.local script [yes|no].
## Make sure to set correct shebang in /etc/66/rc.local
## if option is enabled, before reboot.

LOCAL=!yes

## Boot inside a container [yes|no].
## If set to yes the following variables have no effect or are set to no:
## HARDWARECLOCK, SETUPCONSOLE, KEYMAP, FONT, FONT_MAP, FONT_UNIMAP, CRYPTTAB
## SWAP, LVM, DMRAID, BTRFS, ZFS, UDEV, SYSCTL, FORCECHCK, CGROUPS
## MODULE_SYSTEM, RANDOMSEED, MNT_NETFS

CONTAINER=!no

## Apply tmpfiles.d configuration file [yes|no].

TMPFILE=!yes

## Load kernel modules [yes|no].

MODULE_KERNEL=!yes

## Load modules from modules.d files

MODULE_SYSTEM=!yes

## Populate ramdom seed

RANDOMSEED=!yes

#========================== Security ===================================

## Active encrypted devices [yes|no].

CRYPTTAB=!no

## Firewall program to use [iptables|ip6tables|nftables|ebtables|arptables]
## Comment to not use any firewall at all.

#FIREWALL=

#========================== Pseudo filesystem ==========================

## Mount cgroups [yes|no].

CGROUPS=!yes

## Mount /proc directory [yes|no].

MNT_PROC=!yes

## Mount /sys directory [yes|no].

MNT_SYS=!yes

## Mount /dev directory [yes|no].

MNT_DEV=!yes

## Mount /run directory [yes|no].

MNT_RUN=!yes

## Mount /tmp directory [yes|no].

MNT_TMP=!yes

## Mount /dev/pts directory [yes|no].
## Only valuable if MNT_DEV is set to yes.

MNT_PTS=!yes

## Mount /dev/shm directory [yes|no].
## Only valuable if MNT_DEV is set to yes.

MNT_SHM=!yes

## Mount no-network filesystem [yes|no].
## Fstype mounted is: nosysfs,nonfs,nonfs4,nosmbfs,nocifs

MNT_NETFS=!yes

## Create and mount /sys/firmware/efi/efivars, /sys/fs/fuse/connections,
## /sys/kernel/{config,debug,security} and /sys/kernel/debug/tracing
## if exist at /proc/filesystems

POPULATE_SYS=!yes

## Create and mount /dev/{hugepages,mqueue}
## if exist at /proc/filesystems

POPULATE_DEV=!yes

## Create /run/{lvm,user,lock,utmp} directories

POPULATE_RUN=!yes

## Create /tmp/{.X11-unix,.ICE-unix} files

POPULATE_TMP=!yes
