Skip to content

Commit

Permalink
Fix typo in config-setup service (#4388)
Browse files Browse the repository at this point in the history
  • Loading branch information
rajendra-dendukuri authored and abdosi committed Apr 11, 2020
1 parent c080e80 commit a97b73e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions files/image_config/config-setup/config-setup
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ generate_config()
# is created
# - If updategraph is enabled and ZTP is disabled, updategraph initializes
# configuration
do_config_intialization()
do_config_initialization()
{
if ! updategraph_is_enabled ; then
if ! ztp_is_enabled ; then
Expand Down Expand Up @@ -350,12 +350,12 @@ boot_config()
fi

if [ -e /tmp/pending_config_initialization ] || [ -e ${CONFIG_SETUP_INITIALIZATION_FLAG} ]; then
do_config_intialization
do_config_initialization
fi

# If no startup configuration is found, create a configuration to be used
if [ ! -e ${CONFIG_DB_JSON} ]; then
do_config_intialization
do_config_initialization
# force ZTP to restart
if ztp_is_enabled ; then
ztp_status=$(ztp status -c)
Expand Down

0 comments on commit a97b73e

Please sign in to comment.