added configuration for legos bac-à-sable, improved documentation

This commit is contained in:
levasseur
2021-09-21 17:21:26 +02:00
parent e898eea7f7
commit 1e6f92c25d
6 changed files with 127 additions and 3 deletions

View File

@@ -29,6 +29,7 @@ add_remote_user()
create_user()
{
if [[ $(noerror --noout id $1) != 0 ]]; then
prnt I "Création de l'utilisateur $1 ..."
useradd -Um $1
else
prnt W "L'utilisateur $1 existe déjà. Rien à faire..."

View File

@@ -1,4 +1,4 @@
# Generic templateque to use as a model for new modules creation #
# Generic template to use as a model for new modules creation #
# #
# !!! ATTENTION : modules are not supposed to contains any specific code for #
# !!! a distribution or a other. Please use configuration files #
@@ -15,6 +15,7 @@
# * y : increased on minor functionnality additions #
# * z : increased on fixes (+n fixes => increased by +n) #
# #
##------------------------------------------------------------------------------
##Description of module @template@
##Copyright (c) Year Your Name <your.mail@host.tld>
##------------------------------------------------------------------------------