Rename all directories

This commit is contained in:
remittor
2025-12-28 20:15:29 +03:00
parent dd35b5d50a
commit c11ca1ca2e
31 changed files with 0 additions and 0 deletions

16
zapret2/renew-cfg.sh Executable file
View File

@@ -0,0 +1,16 @@
#!/bin/sh
# Copyright (c) 2024 remittor
. /opt/zapret2/comfunc.sh
merge_cfg_with_def_values
CONFIGS_SYNC=0
[ ! -f "$ZAPRET_CONFIG" ] && CONFIGS_SYNC=1
[ "$1" = "sync" ] && CONFIGS_SYNC=1
if [ "$CONFIGS_SYNC" = "1" ]; then
# renew main config
/opt/zapret2/sync_config.sh
fi