mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-06-08 14:11:52 -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?;
|
||||
}
|
||||
|
||||
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(
|
||||
&mut adb_device,
|
||||
"/etc/init.d/rayhunter_daemon",
|
||||
rayhunter_daemon_init.as_bytes(),
|
||||
RAYHUNTER_DAEMON_INIT.as_bytes(),
|
||||
)
|
||||
.await?;
|
||||
install_file(
|
||||
|
||||
@@ -280,14 +280,10 @@ async fn setup_rayhunter(
|
||||
install_config(&mut conn, "orbic", reset_config, wifi_enabled).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(
|
||||
addr,
|
||||
"/etc/init.d/rayhunter_daemon",
|
||||
rayhunter_daemon_init.as_bytes(),
|
||||
RAYHUNTER_DAEMON_INIT.as_bytes(),
|
||||
false,
|
||||
)
|
||||
.await?;
|
||||
|
||||
Reference in New Issue
Block a user