mirror of
https://github.com/itdoginfo/podkop.git
synced 2025-12-08 20:46:50 +03:00
Remove opkg list-installed checks for packages from conflicts
This commit is contained in:
@@ -69,21 +69,6 @@ start_main() {
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
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
|
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"
|
log "[critical] Detected https-dns-proxy in dhcp config. Edit /etc/config/dhcp"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user