fix(init.d/podkop): change rm command to remove only *.lst files in /tmp/podkop directory

This commit is contained in:
Nikita Skryabin
2025-02-18 10:05:34 +03:00
parent 6f997a6e73
commit ade2b844ec

View File

@@ -73,7 +73,7 @@ stop_service() {
remove_cron_job
dnsmasq_rm
rm -rf /tmp/podkop/*
rm -rf /tmp/podkop/*.lst
log "Flush nft"
if nft list table inet PodkopTable >/dev/null 2>&1; then
@@ -1608,4 +1608,4 @@ show_config() {
show_version() {
local version=$(opkg info podkop | grep -m 1 "Version:" | cut -d' ' -f2)
echo "$version"
}
}