mirror of
https://github.com/itdoginfo/podkop.git
synced 2025-12-07 03:56:55 +03:00
Log messages for luci-app-passwall and luci-app-passwall in binary
This commit is contained in:
@@ -69,6 +69,16 @@ start_main() {
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
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