small documentation fixes, added missing ansi_shadow font file, added configuration for an host

This commit is contained in:
2022-01-14 15:48:59 +01:00
parent efa8fecb72
commit dcbdf6bae6
4 changed files with 798 additions and 9 deletions

View File

@@ -132,7 +132,7 @@ options.
After that all the configured modules with the ```$MODULE_LIST``` variable are After that all the configured modules with the ```$MODULE_LIST``` variable are
loaded to be availble for execution. Note that even function that might not be loaded to be availble for execution. Note that even function that might not be
used will be loaded. At this point everything that will be necessary for checks used will be loaded. At this point everything that will be necessary for checks
and modification will be available in the scripts esecution environment. If the and modification will be available in the scripts execution environment. If the
```--shell``` command line option is given, the subshell is loaded just after ```--shell``` command line option is given, the subshell is loaded just after
this point. this point.
@@ -290,7 +290,7 @@ cron_@template@()
export -f @template@ export -f @template@
export -f precheck_@template@ export -f precheck_@template@
# If cron_@template@ exists : # If cron_@template@ exists:
export -f cron_@template@ export -f cron_@template@
``` ```
@@ -350,7 +350,7 @@ don't plan to contribute.
### 5.2. Bugs ### 5.2. Bugs
**init.sh** have no bug tracker yet. For now, if you find a bug, please submit a **init.sh** have no bug tracker yet. For now, if you find a bug, please submit a
bag report to the maintenor mentionned at the end of that document. A bug report bug report to the maintenor mentionned at the end of that document. A bug report
may contain the command line parameters where the bug happens, OS details, may contain the command line parameters where the bug happens, OS details,
the module that trigger it if any, and the log file containing the error. the module that trigger it if any, and the log file containing the error.

66
conf/panay.conf.sh Normal file
View File

@@ -0,0 +1,66 @@
# Fichier de configuration principal
# ------------------------------------------------------------------------------
# -------------------- Importation de paramêtres globaux -----------------------
# ------------------------------------------------------------------------------
# Importe les paramètres geoffray-levasseur.org
. $MYPATH/conf/includes/gl.conf.sh
# Importe la sélection de paquets par défaut
. $MYPATH/conf/includes/pkgsel.base.conf.sh
# Les paramètres précédemment importés sont surchargeable après cette ligne
# ------------------------------------------------------------------------------
# ------------------------------ General Section -------------------------------
# ------------------------------------------------------------------------------
# User of the machine (must exists)
MAINUSER=root
# Authentication: use LDAP+Kerberos ?
WITH_LDAP_KERB=no
# Users to create, add or remove
#LOCAL_USERS="$MAINUSER"
#REMOTE_USERS="kroot"
REMOVE_USERS=fatal
# Network
IPV4_IFACES="eth0 eth1"
NET4_MODE_eth0="static"
NET4_IP_eth0="192.168.1.212/24"
NET4_GW_eth0="192.168.1.230"
NET4_NS_eth0="192.168.1.205 192.168.1.206"
NET4_NS_SEARCH_eth0=$REALM
NET4_MODE_eth1="static"
NET4_IP_eth1="10.0.254.212/16"
IPV6_IFACES="eth0"
NET6_MODE_eth0="static"
NET6_IP_eth0="2a03:7220:8081:b301::d4/64"
NET6_GW_eth0="2a03:7220:8081:b301::e6"
NET6_NS_eth0="2a03:7220:8081:b301::cd 2a03:7220:8081:b301::ce"
NET6_NS_SEARCH_eth0=$REALM
# Mode d'installation :
# * dev : installe les paquets un par un avec apt (lent)
# * full : envoie d'un seul coup la liste de tous les paquets à apt (rapide)
INTALL_MODE=full
# Paquets additionnels
PKGSEL="$PKGSEL apache2 php-apcu php-bcmath php-cli php-curl php-gd php-gmp php-imagick \
php-intl php-mbstring php-memcached php-mysql php-redis php-xml php-zip php redis-server"
# ------------------------------------------------------------------------------
# -------------------------- Section modules d'init ----------------------------
# ------------------------------------------------------------------------------
# Liste des modules à executer (surchargeable en ligne de commande)
MODULE_LIST="conf_ntp upgrade_dist conf_ceph authnz conf_locale conf_ssh \
conf_mail install_pkg install_profile patch_snmp install_mkagent \
conf_syslog conf_network"

View File

@@ -157,8 +157,9 @@ fail as it's also used to display errors. Thus it only contains echoes and some
variables manipulation. variables manipulation.
#### 3.1.2. ```separator``` #### 3.1.2. ```separator```
Tat function display a seprator made with dash, to fill the length of the That function display a seprator made with dash, to fill the length of the
screen minus one character. screen minus one character if screen length is 80 character or less. If more
than 80 the lenght of the separator will be 80 plus half of additionnal length.
It takes no parameters and return no value. It takes no parameters and return no value.
@@ -204,7 +205,7 @@ echo -e "${IRed}${On_IYellow}ATTENTION:${DEFAULTBG} this is a warning!${DEFAULTC
Remember to always terminate an *echo -e* using colors with the $DEFAULTCOL Remember to always terminate an *echo -e* using colors with the $DEFAULTCOL
variable. If not, any new line might be filled with the last used color and line variable. If not, any new line might be filled with the last used color and line
ending will filled with background color. ending will be filled with background color.
## 4. The filefct.sh file ## 4. The filefct.sh file
### 4.1. Common behavior ### 4.1. Common behavior
@@ -225,8 +226,8 @@ original file or directory name and timestamp the date and time of the backup
as retuned by the ```stdtime``` function. If a file given in parameter don't as retuned by the ```stdtime``` function. If a file given in parameter don't
exists, the function will issue a warning and continue to the next. exists, the function will issue a warning and continue to the next.
If target file or directory is a symbolic link, the link will be resolved until If target file or directory is a symbolic link, the link will be resolved
we backup the target on its side. recursively until we backup the final target on its side.
The function don't take any other parameters than file and/or directory names. The function don't take any other parameters than file and/or directory names.
@@ -249,7 +250,7 @@ exists, it will be created automatically.
#### 4.2.3. ```appendfile <source> <destination>``` #### 4.2.3. ```appendfile <source> <destination>```
That function add the content of source file to destination file. The source That function add the content of source file to destination file. The source
file can have defferent origins, following the same path priority as the file can have different origins, following the same path priority as the
*installfile* function. *installfile* function.
The destination file must exist and be on the root filesystem. Only two The destination file must exist and be on the root filesystem. Only two

View File

@@ -0,0 +1,722 @@
flf2a$ 7 7 13 0 7 0 64 0
Font Author: ?
More Info:
https://web.archive.org/web/20120819044459/http://www.roysac.com/thedrawfonts-tdf.asp
FIGFont created with: http://patorjk.com/figfont-editor
$ $@
$ $@
$ $@
$ $@
$ $@
$ $@
$ $@@
██╗@
██║@
██║@
╚═╝@
██╗@
╚═╝@
@@
@
@
@
@
@
@
@@
██╗ ██╗ @
████████╗@
╚██╔═██╔╝@
████████╗@
╚██╔═██╔╝@
╚═╝ ╚═╝ @
@@
▄▄███▄▄·@
██╔════╝@
███████╗@
╚════██║@
███████║@
╚═▀▀▀══╝@
@@
██╗ ██╗@
╚═╝██╔╝@
██╔╝ @
██╔╝ @
██╔╝██╗@
╚═╝ ╚═╝@
@@
██╗ @
██║ @
████████╗@
██╔═██╔═╝@
██████║ @
╚═════╝ @
@@
@
@
@
@
@
@
@@
██╗@
██╔╝@
██║ @
██║ @
╚██╗@
╚═╝@
@@
██╗ @
╚██╗@
██║@
██║@
██╔╝@
╚═╝ @
@@
@
▄ ██╗▄@
████╗@
▀╚██╔▀@
╚═╝ @
@
@@
@
@
@
@
@
@
@@
@
@
@
@
▄█╗@
╚═╝@
@@
@
@
█████╗@
╚════╝@
@
@
@@
@
@
@
@
██╗@
╚═╝@
@@
██╗@
██╔╝@
██╔╝ @
██╔╝ @
██╔╝ @
╚═╝ @
@@
██████╗ @
██╔═████╗@
██║██╔██║@
████╔╝██║@
╚██████╔╝@
╚═════╝ @
@@
██╗@
███║@
╚██║@
██║@
██║@
╚═╝@
@@
██████╗ @
╚════██╗@
█████╔╝@
██╔═══╝ @
███████╗@
╚══════╝@
@@
██████╗ @
╚════██╗@
█████╔╝@
╚═══██╗@
██████╔╝@
╚═════╝ @
@@
██╗ ██╗@
██║ ██║@
███████║@
╚════██║@
██║@
╚═╝@
@@
███████╗@
██╔════╝@
███████╗@
╚════██║@
███████║@
╚══════╝@
@@
██████╗ @
██╔════╝ @
███████╗ @
██╔═══██╗@
╚██████╔╝@
╚═════╝ @
@@
███████╗@
╚════██║@
██╔╝@
██╔╝ @
██║ @
╚═╝ @
@@
█████╗ @
██╔══██╗@
╚█████╔╝@
██╔══██╗@
╚█████╔╝@
╚════╝ @
@@
█████╗ @
██╔══██╗@
╚██████║@
╚═══██║@
█████╔╝@
╚════╝ @
@@
@
██╗@
╚═╝@
██╗@
╚═╝@
@
@@
@
██╗@
╚═╝@
▄█╗@
▀═╝@
@
@@
██╗@
██╔╝@
██╔╝ @
╚██╗ @
╚██╗@
╚═╝@
@@
@
@
@
@
@
@
@@
██╗ @
╚██╗ @
╚██╗@
██╔╝@
██╔╝ @
╚═╝ @
@@
██████╗ @
╚════██╗@
▄███╔╝@
▀▀══╝ @
██╗ @
╚═╝ @
@@
██████╗ @
██╔═══██╗@
██║██╗██║@
██║██║██║@
╚█║████╔╝@
╚╝╚═══╝ @
@@
█████╗ @
██╔══██╗@
███████║@
██╔══██║@
██║ ██║@
╚═╝ ╚═╝@
@@
██████╗ @
██╔══██╗@
██████╔╝@
██╔══██╗@
██████╔╝@
╚═════╝ @
@@
██████╗@
██╔════╝@
██║ @
██║ @
╚██████╗@
╚═════╝@
@@
██████╗ @
██╔══██╗@
██║ ██║@
██║ ██║@
██████╔╝@
╚═════╝ @
@@
███████╗@
██╔════╝@
█████╗ @
██╔══╝ @
███████╗@
╚══════╝@
@@
███████╗@
██╔════╝@
█████╗ @
██╔══╝ @
██║ @
╚═╝ @
@@
██████╗ @
██╔════╝ @
██║ ███╗@
██║ ██║@
╚██████╔╝@
╚═════╝ @
@@
██╗ ██╗@
██║ ██║@
███████║@
██╔══██║@
██║ ██║@
╚═╝ ╚═╝@
@@
██╗@
██║@
██║@
██║@
██║@
╚═╝@
@@
██╗@
██║@
██║@
██ ██║@
╚█████╔╝@
╚════╝ @
@@
██╗ ██╗@
██║ ██╔╝@
█████╔╝ @
██╔═██╗ @
██║ ██╗@
╚═╝ ╚═╝@
@@
██╗ @
██║ @
██║ @
██║ @
███████╗@
╚══════╝@
@@
███╗ ███╗@
████╗ ████║@
██╔████╔██║@
██║╚██╔╝██║@
██║ ╚═╝ ██║@
╚═╝ ╚═╝@
@@
███╗ ██╗@
████╗ ██║@
██╔██╗ ██║@
██║╚██╗██║@
██║ ╚████║@
╚═╝ ╚═══╝@
@@
██████╗ @
██╔═══██╗@
██║ ██║@
██║ ██║@
╚██████╔╝@
╚═════╝ @
@@
██████╗ @
██╔══██╗@
██████╔╝@
██╔═══╝ @
██║ @
╚═╝ @
@@
██████╗ @
██╔═══██╗@
██║ ██║@
██║▄▄ ██║@
╚██████╔╝@
╚══▀▀═╝ @
@@
██████╗ @
██╔══██╗@
██████╔╝@
██╔══██╗@
██║ ██║@
╚═╝ ╚═╝@
@@
███████╗@
██╔════╝@
███████╗@
╚════██║@
███████║@
╚══════╝@
@@
████████╗@
╚══██╔══╝@
██║ @
██║ @
██║ @
╚═╝ @
@@
██╗ ██╗@
██║ ██║@
██║ ██║@
██║ ██║@
╚██████╔╝@
╚═════╝ @
@@
██╗ ██╗@
██║ ██║@
██║ ██║@
╚██╗ ██╔╝@
╚████╔╝ @
╚═══╝ @
@@
██╗ ██╗@
██║ ██║@
██║ █╗ ██║@
██║███╗██║@
╚███╔███╔╝@
╚══╝╚══╝ @
@@
██╗ ██╗@
╚██╗██╔╝@
╚███╔╝ @
██╔██╗ @
██╔╝ ██╗@
╚═╝ ╚═╝@
@@
██╗ ██╗@
╚██╗ ██╔╝@
╚████╔╝ @
╚██╔╝ @
██║ @
╚═╝ @
@@
███████╗@
╚══███╔╝@
███╔╝ @
███╔╝ @
███████╗@
╚══════╝@
@@
███╗@
██╔╝@
██║ @
██║ @
███╗@
╚══╝@
@@
@
@
@
@
@
@
@@
███╗@
╚██║@
██║@
██║@
███║@
╚══╝@
@@
███╗ @
██╔██╗@
╚═╝╚═╝@
@
@
@
@@
@
@
@
@
███████╗@
╚══════╝@
@@
@
@
@
@
@
@
@@
█████╗ @
██╔══██╗@
███████║@
██╔══██║@
██║ ██║@
╚═╝ ╚═╝@
@@
██████╗ @
██╔══██╗@
██████╔╝@
██╔══██╗@
██████╔╝@
╚═════╝ @
@@
██████╗@
██╔════╝@
██║ @
██║ @
╚██████╗@
╚═════╝@
@@
██████╗ @
██╔══██╗@
██║ ██║@
██║ ██║@
██████╔╝@
╚═════╝ @
@@
███████╗@
██╔════╝@
█████╗ @
██╔══╝ @
███████╗@
╚══════╝@
@@
███████╗@
██╔════╝@
█████╗ @
██╔══╝ @
██║ @
╚═╝ @
@@
██████╗ @
██╔════╝ @
██║ ███╗@
██║ ██║@
╚██████╔╝@
╚═════╝ @
@@
██╗ ██╗@
██║ ██║@
███████║@
██╔══██║@
██║ ██║@
╚═╝ ╚═╝@
@@
██╗@
██║@
██║@
██║@
██║@
╚═╝@
@@
██╗@
██║@
██║@
██ ██║@
╚█████╔╝@
╚════╝ @
@@
██╗ ██╗@
██║ ██╔╝@
█████╔╝ @
██╔═██╗ @
██║ ██╗@
╚═╝ ╚═╝@
@@
██╗ @
██║ @
██║ @
██║ @
███████╗@
╚══════╝@
@@
███╗ ███╗@
████╗ ████║@
██╔████╔██║@
██║╚██╔╝██║@
██║ ╚═╝ ██║@
╚═╝ ╚═╝@
@@
███╗ ██╗@
████╗ ██║@
██╔██╗ ██║@
██║╚██╗██║@
██║ ╚████║@
╚═╝ ╚═══╝@
@@
██████╗ @
██╔═══██╗@
██║ ██║@
██║ ██║@
╚██████╔╝@
╚═════╝ @
@@
██████╗ @
██╔══██╗@
██████╔╝@
██╔═══╝ @
██║ @
╚═╝ @
@@
██████╗ @
██╔═══██╗@
██║ ██║@
██║▄▄ ██║@
╚██████╔╝@
╚══▀▀═╝ @
@@
██████╗ @
██╔══██╗@
██████╔╝@
██╔══██╗@
██║ ██║@
╚═╝ ╚═╝@
@@
███████╗@
██╔════╝@
███████╗@
╚════██║@
███████║@
╚══════╝@
@@
████████╗@
╚══██╔══╝@
██║ @
██║ @
██║ @
╚═╝ @
@@
██╗ ██╗@
██║ ██║@
██║ ██║@
██║ ██║@
╚██████╔╝@
╚═════╝ @
@@
██╗ ██╗@
██║ ██║@
██║ ██║@
╚██╗ ██╔╝@
╚████╔╝ @
╚═══╝ @
@@
██╗ ██╗@
██║ ██║@
██║ █╗ ██║@
██║███╗██║@
╚███╔███╔╝@
╚══╝╚══╝ @
@@
██╗ ██╗@
╚██╗██╔╝@
╚███╔╝ @
██╔██╗ @
██╔╝ ██╗@
╚═╝ ╚═╝@
@@
██╗ ██╗@
╚██╗ ██╔╝@
╚████╔╝ @
╚██╔╝ @
██║ @
╚═╝ @
@@
███████╗@
╚══███╔╝@
███╔╝ @
███╔╝ @
███████╗@
╚══════╝@
@@
@
@
@
@
@
@
@@
@
@
@
@
@
@
@@
@
@
@
@
@
@
@@
@
@
@
@
@
@
@@
@
@
@
@
@
@
@@
@
@
@
@
@
@
@@
@
@
@
@
@
@
@@
@
@
@
@
@
@
@@
@
@
@
@
@
@
@@
@
@
@
@
@
@
@@
@
@
@
@
@
@
@@