From 922f84e8faa77a902d85657d13bb7340f3337ccd Mon Sep 17 00:00:00 2001 From: frederik Date: Sun, 23 Mar 2025 09:44:43 +0100 Subject: [PATCH] fix: active (mounted) is the correct status for the ram drive mount --- scripts/service_controls.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/service_controls.php b/scripts/service_controls.php index 506eb3a..b194059 100644 --- a/scripts/service_controls.php +++ b/scripts/service_controls.php @@ -15,7 +15,7 @@ function service_status($name) { } } $op = shell_exec("sudo systemctl status ".$name." | grep Active"); - if (stripos($op, " active (running)")) { + if (stripos($op, " active (running)") || stripos($op, " active (mounted)")) { echo "(active)"; } elseif (stripos($op, " inactive ")) { echo "(inactive)";