diff --git a/init.sh b/init.sh index eddccb3..9576acd 100755 --- a/init.sh +++ b/init.sh @@ -8,8 +8,8 @@ # https://opensource.org/licenses/BSD-3-Clause # ------------------------------------------------------------------------------ # Global variables: -# * INSTALL_MODE: if dev is declared here, packages will be installed one by -# one instead of sending the whole package list to the package manage +# * INSTALL_MODE: if "dev" is declared here, packages will be installed one by +# one instead of sending the whole package list to the package manager # * LOGFILE: Define manually output log file name. Can be superseeded through # command line parameter. ATTENTION: That variable cannot be set in # configuration file as it is treated before loading those, so it must be @@ -36,7 +36,7 @@ export LC_ALL=C export LANG=C # Version of init -export VERSION="0.99.11" +export VERSION="0.99.12" # Store script's path (realpath -s resolve symlinks if init.sh is a symlink) export MYPATH=$(dirname $(realpath -s $0)) @@ -124,7 +124,7 @@ load_configuration for prepost in $MYPATH/prepost.d/*.sh; do . $prepost done -unset $prepost +unset prepost process_commandline_and_vars @@ -158,7 +158,7 @@ if [[ $CRON_MODE == true ]]; then prnt I "No cron task for module $mod." fi done - prnt I "All cron executed successfully !" + prnt I "All cron executed successfully!" exit 0 fi diff --git a/modules/conf_ceph.sh b/modules/conf_ceph.sh index ed7aaff..4eff4cb 100644 --- a/modules/conf_ceph.sh +++ b/modules/conf_ceph.sh @@ -8,9 +8,9 @@ # https://opensource.org/licenses/BSD-3-Clause # ------------------------------------------------------------------------------ # Variable: -# * CEPHSRVNAMES: hosts names of ceph servers +# * CEPH_SRV_NAMES: hosts names of ceph servers # * CEPHIP_srv: with "srv" being a ceph server hostname, its corresponding IP -# * SHAREDHOME: Set at yes if homedir is a directory of the ceph mount +# * SHARED_HOME: Set at yes if homedir is a directory of the ceph mount # * SMBSRV: Fallback samba server on unsupported architectures # Mount points are hardcoded and should bet set differently # ------------------------------------------------------------------------------ diff --git a/modules/install_profile.sh b/modules/install_profile.sh index a159a2c..e2d4e70 100644 --- a/modules/install_profile.sh +++ b/modules/install_profile.sh @@ -9,7 +9,7 @@ # ------------------------------------------------------------------------------ export VER_install_profile="0.0.3" -export DEP_install_profile="install_pkg" +export DEP_install_profile="install_pkg auth" install_profile() { @@ -20,7 +20,6 @@ install_profile() usrlist="$usrlist /home/*" fi - # Create a dir in home so /home/* is always interpreted correctly for usr in $usrlist; do backupdist $usr/{.,}profile $usr/.bashrc installfile profile/{{.,}profile,.bashrc} $usr/ diff --git a/modules/patch_snmp.sh b/modules/patch_snmp.sh index c5702bf..4f21788 100644 --- a/modules/patch_snmp.sh +++ b/modules/patch_snmp.sh @@ -8,7 +8,7 @@ # https://opensource.org/licenses/BSD-3-Clause # ------------------------------------------------------------------------------ -export VER_patch_snmp="0.0.1" +export VER_patch_snmp="0.0.2" export DEP_patch_snmp="install_pkg" patch_snmp()