diff --git a/common/installer.sh b/common/installer.sh index 5101ca6..687becd 100644 --- a/common/installer.sh +++ b/common/installer.sh @@ -682,6 +682,19 @@ check_prerequisites_linux() fi } +removable_pkgs_openwrt() +{ + PKGS="iptables-mod-extra iptables-mod-nfqueue iptables-mod-filter iptables-mod-ipopt iptables-mod-conntrack-extra ip6tables-mod-nat ip6tables-extra kmod-nft-queue gzip coreutils-sort coreutils-sleep curl" +} + +remove_extra_pkgs_openwrt() +{ + echo \* remove dependencies + removable_pkgs_openwrt + echo these packages may have been installed by install_easy.sh : $PKGS + ask_yes_no N "do you want to remove them" && opkg remove --autoremove $PKGS +} + check_prerequisites_openwrt() { echo \* checking prerequisites diff --git a/docs/changes.txt b/docs/changes.txt index d5a43ea..eb26ea9 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -359,3 +359,6 @@ blockcheck: do not require root if SKIP_PKTWS=1 v68: readme.md : move russian version to markdown +nfqws,tpws: use alternate $ sign for $ +repo: binaries removed from repo. git actions binaries build in releases. +uninstall_easy.sh: offer to remove dependencies in openwrt diff --git a/uninstall_easy.sh b/uninstall_easy.sh index 781c8d5..c247b9c 100755 --- a/uninstall_easy.sh +++ b/uninstall_easy.sh @@ -72,6 +72,9 @@ remove_openwrt() nft_del_table restart_openwrt_firewall crontab_del + remove_extra_pkgs_openwrt + echo + echo to fully remove zapret : rm -r \"$ZAPRET_BASE\" } remove_macos()