fixed some typos, trivial corrections
This commit is contained in:
10
init.sh
10
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
|
||||
|
||||
|
||||
@@ -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
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
@@ -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/
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user