mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-04-30 01:19:58 -07:00
Various fixes for TP-Link
* explicitly mount the SD card to improve reliability * do not crash when the SD card is already mounted * address some review feedback
This commit is contained in:
committed by
Cooper Quintin
parent
4a7452806d
commit
c285e2ca08
@@ -116,14 +116,14 @@ async fn setup_rayhunter(
|
||||
serial_interface,
|
||||
&mut adb_device,
|
||||
"/data/rayhunter/config.toml",
|
||||
CONFIG_TOML,
|
||||
CONFIG_TOML.as_bytes(),
|
||||
)
|
||||
.await?;
|
||||
install_file(
|
||||
serial_interface,
|
||||
&mut adb_device,
|
||||
"/etc/init.d/rayhunter_daemon",
|
||||
RAYHUNTER_DAEMON_INIT,
|
||||
RAYHUNTER_DAEMON_INIT.as_bytes(),
|
||||
)
|
||||
.await?;
|
||||
install_file(
|
||||
|
||||
Reference in New Issue
Block a user