From 2cc644f003b10997170e4285673c0d522cd91c80 Mon Sep 17 00:00:00 2001 From: gSpot Date: Tue, 10 May 2022 16:05:15 +0300 Subject: [PATCH] Fixed cfg name --- autoinstall/uninstall.sh | 2 +- ruantiblock/files/etc/ruantiblock/ruantiblock.conf | 2 +- ruantiblock/files/usr/bin/ruantiblock | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/autoinstall/uninstall.sh b/autoinstall/uninstall.sh index 1d43646..54535bb 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.fqdn" +DNSMASQ_DATA_FILE="/tmp/dnsmasq.d/ruantiblock.dnsmasq" ### 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 cfc3017..4af9bca 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.fqdn" +DNSMASQ_DATA_FILE="/tmp/dnsmasq.d/ruantiblock.dnsmasq" ### Команда для перезапуска 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 d71407b..13014c6 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}.fqdn" +export DNSMASQ_DATA_FILE="/var/dnsmasq.d/${NAME}.dnsmasq" ### Команда для перезапуска dnsmasq export DNSMASQ_RESTART_CMD="/etc/init.d/dnsmasq restart" ### Директория для html-страницы статуса (не используется в OpenWrt)