mirror of
https://github.com/itdoginfo/podkop.git
synced 2025-12-07 20:16:53 +03:00
fix(init.d/podkop): change rm command to remove only *.lst files in /tmp/podkop directory
This commit is contained in:
@@ -73,7 +73,7 @@ stop_service() {
|
|||||||
remove_cron_job
|
remove_cron_job
|
||||||
dnsmasq_rm
|
dnsmasq_rm
|
||||||
|
|
||||||
rm -rf /tmp/podkop/*
|
rm -rf /tmp/podkop/*.lst
|
||||||
|
|
||||||
log "Flush nft"
|
log "Flush nft"
|
||||||
if nft list table inet PodkopTable >/dev/null 2>&1; then
|
if nft list table inet PodkopTable >/dev/null 2>&1; then
|
||||||
@@ -1608,4 +1608,4 @@ show_config() {
|
|||||||
show_version() {
|
show_version() {
|
||||||
local version=$(opkg info podkop | grep -m 1 "Version:" | cut -d' ' -f2)
|
local version=$(opkg info podkop | grep -m 1 "Version:" | cut -d' ' -f2)
|
||||||
echo "$version"
|
echo "$version"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user