mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-07-23 07:48:10 -07:00
Remove changes which were from device UI work (seperate feature which snuck into this branch)
This commit is contained in:
@@ -192,14 +192,10 @@ async fn setup_rayhunter(
|
|||||||
install_wifi_creds(&mut conn, wifi_ssid, wifi_password).await?;
|
install_wifi_creds(&mut conn, wifi_ssid, wifi_password).await?;
|
||||||
}
|
}
|
||||||
|
|
||||||
let rayhunter_daemon_init = RAYHUNTER_DAEMON_INIT.replace(
|
|
||||||
"#RAYHUNTER-PRESTART",
|
|
||||||
"pkill -f start_qt_daemon 2>/dev/null || true\n sleep 1\n pkill -f qt_daemon 2>/dev/null || true",
|
|
||||||
);
|
|
||||||
install_file(
|
install_file(
|
||||||
&mut adb_device,
|
&mut adb_device,
|
||||||
"/etc/init.d/rayhunter_daemon",
|
"/etc/init.d/rayhunter_daemon",
|
||||||
rayhunter_daemon_init.as_bytes(),
|
RAYHUNTER_DAEMON_INIT.as_bytes(),
|
||||||
)
|
)
|
||||||
.await?;
|
.await?;
|
||||||
install_file(
|
install_file(
|
||||||
|
|||||||
@@ -280,14 +280,10 @@ async fn setup_rayhunter(
|
|||||||
install_config(&mut conn, "orbic", reset_config, wifi_enabled).await?;
|
install_config(&mut conn, "orbic", reset_config, wifi_enabled).await?;
|
||||||
install_wifi_creds(&mut conn, wifi_ssid, wifi_password).await?;
|
install_wifi_creds(&mut conn, wifi_ssid, wifi_password).await?;
|
||||||
|
|
||||||
let rayhunter_daemon_init = RAYHUNTER_DAEMON_INIT.replace(
|
|
||||||
"#RAYHUNTER-PRESTART",
|
|
||||||
"pkill -f start_qt_daemon 2>/dev/null || true\n sleep 1\n pkill -f qt_daemon 2>/dev/null || true",
|
|
||||||
);
|
|
||||||
telnet_send_file(
|
telnet_send_file(
|
||||||
addr,
|
addr,
|
||||||
"/etc/init.d/rayhunter_daemon",
|
"/etc/init.d/rayhunter_daemon",
|
||||||
rayhunter_daemon_init.as_bytes(),
|
RAYHUNTER_DAEMON_INIT.as_bytes(),
|
||||||
false,
|
false,
|
||||||
)
|
)
|
||||||
.await?;
|
.await?;
|
||||||
|
|||||||
Reference in New Issue
Block a user