fixed some typos, trivial corrections
This commit is contained in:
8
init.sh
8
init.sh
@@ -8,8 +8,8 @@
|
|||||||
# https://opensource.org/licenses/BSD-3-Clause
|
# https://opensource.org/licenses/BSD-3-Clause
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
# Global variables:
|
# Global variables:
|
||||||
# * INSTALL_MODE: if dev is declared here, packages will be installed one by
|
# * 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
|
# one instead of sending the whole package list to the package manager
|
||||||
# * LOGFILE: Define manually output log file name. Can be superseeded through
|
# * LOGFILE: Define manually output log file name. Can be superseeded through
|
||||||
# command line parameter. ATTENTION: That variable cannot be set in
|
# command line parameter. ATTENTION: That variable cannot be set in
|
||||||
# configuration file as it is treated before loading those, so it must be
|
# configuration file as it is treated before loading those, so it must be
|
||||||
@@ -36,7 +36,7 @@ export LC_ALL=C
|
|||||||
export LANG=C
|
export LANG=C
|
||||||
|
|
||||||
# Version of init
|
# 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)
|
# Store script's path (realpath -s resolve symlinks if init.sh is a symlink)
|
||||||
export MYPATH=$(dirname $(realpath -s $0))
|
export MYPATH=$(dirname $(realpath -s $0))
|
||||||
@@ -124,7 +124,7 @@ load_configuration
|
|||||||
for prepost in $MYPATH/prepost.d/*.sh; do
|
for prepost in $MYPATH/prepost.d/*.sh; do
|
||||||
. $prepost
|
. $prepost
|
||||||
done
|
done
|
||||||
unset $prepost
|
unset prepost
|
||||||
|
|
||||||
process_commandline_and_vars
|
process_commandline_and_vars
|
||||||
|
|
||||||
|
|||||||
@@ -8,9 +8,9 @@
|
|||||||
# https://opensource.org/licenses/BSD-3-Clause
|
# https://opensource.org/licenses/BSD-3-Clause
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
# Variable:
|
# 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
|
# * 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
|
# * SMBSRV: Fallback samba server on unsupported architectures
|
||||||
# Mount points are hardcoded and should bet set differently
|
# Mount points are hardcoded and should bet set differently
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
export VER_install_profile="0.0.3"
|
export VER_install_profile="0.0.3"
|
||||||
export DEP_install_profile="install_pkg"
|
export DEP_install_profile="install_pkg auth"
|
||||||
|
|
||||||
install_profile()
|
install_profile()
|
||||||
{
|
{
|
||||||
@@ -20,7 +20,6 @@ install_profile()
|
|||||||
usrlist="$usrlist /home/*"
|
usrlist="$usrlist /home/*"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Create a dir in home so /home/* is always interpreted correctly
|
|
||||||
for usr in $usrlist; do
|
for usr in $usrlist; do
|
||||||
backupdist $usr/{.,}profile $usr/.bashrc
|
backupdist $usr/{.,}profile $usr/.bashrc
|
||||||
installfile profile/{{.,}profile,.bashrc} $usr/
|
installfile profile/{{.,}profile,.bashrc} $usr/
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
# https://opensource.org/licenses/BSD-3-Clause
|
# 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"
|
export DEP_patch_snmp="install_pkg"
|
||||||
|
|
||||||
patch_snmp()
|
patch_snmp()
|
||||||
|
|||||||
Reference in New Issue
Block a user