mirror of
https://github.com/itdoginfo/podkop.git
synced 2025-12-07 20:16:53 +03:00
Fix filename
This commit is contained in:
@@ -647,7 +647,7 @@ list_custom_domains_create() {
|
|||||||
list_custom_local_domains_create() {
|
list_custom_local_domains_create() {
|
||||||
local local_file="$1"
|
local local_file="$1"
|
||||||
local name="$2"
|
local name="$2"
|
||||||
local filename=$(echo "${local_file%.*}")
|
local filename=$(basename "$local_file" | cut -d. -f1)
|
||||||
local config="/tmp/dnsmasq.d/${name}-${filename}.lst"
|
local config="/tmp/dnsmasq.d/${name}-${filename}.lst"
|
||||||
|
|
||||||
rm -f $config
|
rm -f $config
|
||||||
|
|||||||
Reference in New Issue
Block a user