Remove opkg list-installed checks for packages from conflicts

This commit is contained in:
SaltyMonkey
2025-08-24 10:00:13 +03:00
parent 1fc2947fbc
commit a2536534f8

View File

@@ -69,21 +69,6 @@ start_main() {
exit 1
fi
if opkg list-installed | grep -qw nextdns; then
log "[critical] Detected nextdns installed. Remove this package: opkg remove nextdns"
exit 1
fi
if opkg list-installed | grep -qw luci-app-passwall; then
log "[critical] Detected luci-app-passwall installed. Remove this package: opkg remove luci-app-passwall"
exit 1
fi
if opkg list-installed | grep -qw luci-app-passwall2; then
log "[critical] Detected luci-app-passwall2 installed. Remove this package: opkg remove luci-app-passwall2"
exit 1
fi
if grep -qE 'doh_backup_noresolv|doh_backup_server|doh_server' /etc/config/dhcp; then
log "[critical] Detected https-dns-proxy in dhcp config. Edit /etc/config/dhcp"
fi