From ed7ea8a620be05741b5dc9950253afcc19189504 Mon Sep 17 00:00:00 2001 From: Ember Date: Sat, 21 Feb 2026 11:39:56 -0800 Subject: [PATCH] Remove changes which were from device UI work (seperate feature which snuck into this branch) --- installer/src/orbic.rs | 6 +----- installer/src/orbic_network.rs | 6 +----- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/installer/src/orbic.rs b/installer/src/orbic.rs index f78aa37..ea5b6e3 100644 --- a/installer/src/orbic.rs +++ b/installer/src/orbic.rs @@ -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( diff --git a/installer/src/orbic_network.rs b/installer/src/orbic_network.rs index 039f62c..f79d2f1 100644 --- a/installer/src/orbic_network.rs +++ b/installer/src/orbic_network.rs @@ -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?;