Просмотр исходного кода

fix(core): add execution of check_ip before the config init (#3289)

Christian 5 лет назад
Родитель
Сommit
0ab57342b2
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      linuxgsm.sh

+ 2 - 0
linuxgsm.sh

@@ -403,6 +403,8 @@ else
 			fi
 			fi
 		fi
 		fi
 	fi
 	fi
+	# Load the IP details before the first config is loaded.
+	check_ip.sh
 	# Configs have to be loaded twice to allow start startparameters to pick up all vars
 	# Configs have to be loaded twice to allow start startparameters to pick up all vars
 	# shellcheck source=/dev/null
 	# shellcheck source=/dev/null
 	source "${configdirserver}/_default.cfg"
 	source "${configdirserver}/_default.cfg"