mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-05-22 15:54:46 -07:00
unified rayhunter-daemon binary for all devices
Replace per-device features with config "display" field with the value set at install time.
This commit is contained in:
committed by
Will Greenberg
parent
5b59efa4c8
commit
22d927aa25
@@ -154,11 +154,13 @@ async fn tplink_run_install(
|
||||
telnet_send_file(
|
||||
addr,
|
||||
&format!("{sdcard_path}/config.toml"),
|
||||
crate::CONFIG_TOML.as_bytes(),
|
||||
crate::CONFIG_TOML
|
||||
.replace("#display = \"orbic\"", "display = \"tplink\"")
|
||||
.as_bytes(),
|
||||
)
|
||||
.await?;
|
||||
|
||||
let rayhunter_daemon_bin = include_bytes!(env!("FILE_RAYHUNTER_DAEMON_TPLINK"));
|
||||
let rayhunter_daemon_bin = include_bytes!(env!("FILE_RAYHUNTER_DAEMON"));
|
||||
|
||||
telnet_send_file(
|
||||
addr,
|
||||
|
||||
Reference in New Issue
Block a user