install_easy: alter LISTS_RELOAD only in tpws mode on MacOS

This commit is contained in:
bol-van 2021-03-04 15:41:05 +03:00
parent 792b62f09f
commit b5bcc85ee6

View File

@ -1176,13 +1176,17 @@ service_start_macos()
} }
macos_fw_reload_trigger_clear() macos_fw_reload_trigger_clear()
{ {
LISTS_RELOAD= [ "$MODE" = "tpws" ] && {
write_config_var LISTS_RELOAD LISTS_RELOAD=
write_config_var LISTS_RELOAD
}
} }
macos_fw_reload_trigger_set() macos_fw_reload_trigger_set()
{ {
LISTS_RELOAD="$INIT_SCRIPT_SRC reload-fw-tables" [ "$MODE" = "tpws" ] && {
write_config_var LISTS_RELOAD LISTS_RELOAD="$INIT_SCRIPT_SRC reload-fw-tables"
write_config_var LISTS_RELOAD
}
} }
install_macos() install_macos()