From d04bc994f1de7466f3936d3e719ed8f8e1d9013f Mon Sep 17 00:00:00 2001 From: gSpot Date: Tue, 10 May 2022 04:49:20 +0300 Subject: [PATCH] Fixed cfg name --- autoinstall/uninstall.sh | 2 +- ruantiblock/files/etc/ruantiblock/ruantiblock.conf | 2 +- ruantiblock/files/usr/bin/ruantiblock | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/autoinstall/uninstall.sh b/autoinstall/uninstall.sh index 3f183cb..1d43646 100755 --- a/autoinstall/uninstall.sh +++ b/autoinstall/uninstall.sh @@ -11,7 +11,7 @@ HTDOCS_VIEW="${PREFIX}/www/luci-static/resources/view" HTDOCS_RUAB="${HTDOCS_VIEW}/ruantiblock" CRONTAB_FILE="/etc/crontabs/root" DATA_DIR="/tmp/ruantiblock" -DNSMASQ_DATA_FILE="/tmp/dnsmasq.d/ruantiblock.conf" +DNSMASQ_DATA_FILE="/tmp/dnsmasq.d/ruantiblock.fqdn" ### ruantiblock FILE_CONFIG="${RUAB_CFG_DIR}/ruantiblock.conf" FILE_FQDN_FILTER="${RUAB_CFG_DIR}/fqdn_filter" diff --git a/ruantiblock/files/etc/ruantiblock/ruantiblock.conf b/ruantiblock/files/etc/ruantiblock/ruantiblock.conf index 53a5b9c..cfc3017 100644 --- a/ruantiblock/files/etc/ruantiblock/ruantiblock.conf +++ b/ruantiblock/files/etc/ruantiblock/ruantiblock.conf @@ -6,7 +6,7 @@ DATA_DIR="/tmp/ruantiblock" ### Директория модулей MODULES_DIR="/usr/libexec/ruantiblock" ### Дополнительный конфиг dnsmasq с FQDN записями блэклиста -DNSMASQ_DATA_FILE="/tmp/dnsmasq.d/ruantiblock.conf" +DNSMASQ_DATA_FILE="/tmp/dnsmasq.d/ruantiblock.fqdn" ### Команда для перезапуска dnsmasq DNSMASQ_RESTART_CMD="/etc/init.d/dnsmasq restart" ### Директория для html-страницы статуса (не используется в OpenWrt) diff --git a/ruantiblock/files/usr/bin/ruantiblock b/ruantiblock/files/usr/bin/ruantiblock index 19b8232..d71407b 100755 --- a/ruantiblock/files/usr/bin/ruantiblock +++ b/ruantiblock/files/usr/bin/ruantiblock @@ -18,7 +18,7 @@ CONFIG_FILE="${CONFIG_DIR}/${NAME}.conf" export DATA_DIR="/var/${NAME}" export MODULES_DIR="/usr/libexec/${NAME}" ### Дополнительный конфиг dnsmasq с FQDN записями блэклиста -export DNSMASQ_DATA_FILE="/var/dnsmasq.d/${NAME}.conf" +export DNSMASQ_DATA_FILE="/var/dnsmasq.d/${NAME}.fqdn" ### Команда для перезапуска dnsmasq export DNSMASQ_RESTART_CMD="/etc/init.d/dnsmasq restart" ### Директория для html-страницы статуса (не используется в OpenWrt) @@ -288,7 +288,7 @@ AddIptRules() { } DelIptRules() { - IptLocalClientsDel + IptLocalClientsDel IptMainDel }