From b5bcc85ee643dc3a0f6c8a5f84fe28fe4d81a172 Mon Sep 17 00:00:00 2001 From: bol-van Date: Thu, 4 Mar 2021 15:41:05 +0300 Subject: [PATCH] install_easy: alter LISTS_RELOAD only in tpws mode on MacOS --- install_easy.sh | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/install_easy.sh b/install_easy.sh index 8323669..d5902d4 100755 --- a/install_easy.sh +++ b/install_easy.sh @@ -1176,13 +1176,17 @@ service_start_macos() } macos_fw_reload_trigger_clear() { - LISTS_RELOAD= - write_config_var LISTS_RELOAD + [ "$MODE" = "tpws" ] && { + LISTS_RELOAD= + write_config_var LISTS_RELOAD + } } macos_fw_reload_trigger_set() { - LISTS_RELOAD="$INIT_SCRIPT_SRC reload-fw-tables" - write_config_var LISTS_RELOAD + [ "$MODE" = "tpws" ] && { + LISTS_RELOAD="$INIT_SCRIPT_SRC reload-fw-tables" + write_config_var LISTS_RELOAD + } } install_macos()