config: rename Set_config_defaults() to Prepare_config()
it mostly applies defaults where a value does not exist, but does more in some cases. the new name better reflects its usage and functionality. Gbp-Dch: Short
This commit is contained in:
parent
7de8a0faa7
commit
5fb790e43e
|
@ -69,7 +69,8 @@ New_configuration ()
|
||||||
export LIVE_IMAGE_TYPE
|
export LIVE_IMAGE_TYPE
|
||||||
}
|
}
|
||||||
|
|
||||||
Set_config_defaults ()
|
# Prepare config for use, filling in defaults where no value provided for instance
|
||||||
|
Prepare_config ()
|
||||||
{
|
{
|
||||||
# FIXME
|
# FIXME
|
||||||
New_configuration
|
New_configuration
|
||||||
|
|
|
@ -28,7 +28,7 @@ Init_config_data ()
|
||||||
Arguments "${@}"
|
Arguments "${@}"
|
||||||
|
|
||||||
Read_conffiles $(Common_config_files)
|
Read_conffiles $(Common_config_files)
|
||||||
Set_config_defaults
|
Prepare_config
|
||||||
}
|
}
|
||||||
|
|
||||||
# "Auto" script redirection.
|
# "Auto" script redirection.
|
||||||
|
|
|
@ -937,7 +937,7 @@ then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Setting and validating config
|
# Setting and validating config
|
||||||
Set_config_defaults
|
Prepare_config
|
||||||
Validate_config
|
Validate_config
|
||||||
|
|
||||||
# Creating or updating saved config
|
# Creating or updating saved config
|
||||||
|
|
Loading…
Reference in New Issue