added $GLOBAL_CONFIG_FILE
added $GLOBAL_CONFIG_FILE to fix ownership/permissions routine (VRF 1.3.3) [Patrick Van der Veken]
This commit is contained in:
parent
871e7ca1bb
commit
7ca0a08be7
@ -49,6 +49,8 @@
|
|||||||
# @(#) and warn(), fix in count_fields(), failure in local update
|
# @(#) and warn(), fix in count_fields(), failure in local update
|
||||||
# @(#) should be die() (VRF 1.3.1) [Patrick Van der Veken]
|
# @(#) should be die() (VRF 1.3.1) [Patrick Van der Veken]
|
||||||
# @(#) 2015-09-15: small fix in wait_for_children() (VRF 1.3.2) [Patrick Van der Veken]
|
# @(#) 2015-09-15: small fix in wait_for_children() (VRF 1.3.2) [Patrick Van der Veken]
|
||||||
|
# @(#) 2015-09-23: added $GLOBAL_CONFIG_FILE to fix ownership/permissions routine
|
||||||
|
# @(#) (VRF 1.3.3) [Patrick Van der Veken]
|
||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
# DO NOT CHANGE THIS FILE UNLESS YOU KNOW WHAT YOU ARE DOING!
|
# DO NOT CHANGE THIS FILE UNLESS YOU KNOW WHAT YOU ARE DOING!
|
||||||
#******************************************************************************
|
#******************************************************************************
|
||||||
@ -62,7 +64,7 @@
|
|||||||
# or LOCAL_CONFIG_FILE instead
|
# or LOCAL_CONFIG_FILE instead
|
||||||
|
|
||||||
# define the V.R.F (version/release/fix)
|
# define the V.R.F (version/release/fix)
|
||||||
MY_VRF="1.3.2"
|
MY_VRF="1.3.3"
|
||||||
# name of the global configuration file (script)
|
# name of the global configuration file (script)
|
||||||
GLOBAL_CONFIG_FILE="manage_ssh.conf"
|
GLOBAL_CONFIG_FILE="manage_ssh.conf"
|
||||||
# name of the local configuration file (script)
|
# name of the local configuration file (script)
|
||||||
@ -1337,7 +1339,7 @@ case ${ARG_ACTION} in
|
|||||||
chown root:sys "${FIX_DIR}/keys.d" 2>/dev/null
|
chown root:sys "${FIX_DIR}/keys.d" 2>/dev/null
|
||||||
fi
|
fi
|
||||||
# checking files in holding (keys.d/* are fixed by update_ssh.pl)
|
# checking files in holding (keys.d/* are fixed by update_ssh.pl)
|
||||||
for FILE in access alias keys update_ssh.conf
|
for FILE in access alias keys ${GLOBAL_CONFIG_FILE} update_ssh.conf
|
||||||
do
|
do
|
||||||
if [[ -f "${FIX_DIR}/holding/${FILE}" ]]
|
if [[ -f "${FIX_DIR}/holding/${FILE}" ]]
|
||||||
then
|
then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user