From 3dfccd52763d9422f4921941f1b5cc5e88fae2a9 Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Sat, 5 Nov 2011 11:46:24 +0000 Subject: [PATCH] neutrino: apply HDD settings without blocking git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1826 e54a6e83-5905-42d5-8d5c-058d10e6a962 Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/fa21d0d59fc2acec997a0de065e50ffb50ad7194 Author: Stefan Seyfried Date: 2011-11-05 (Sat, 05 Nov 2011) --- src/gui/hdd_menu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/hdd_menu.cpp b/src/gui/hdd_menu.cpp index e02499a0c..c6040faf5 100644 --- a/src/gui/hdd_menu.cpp +++ b/src/gui/hdd_menu.cpp @@ -217,7 +217,7 @@ int CHDDDestExec::exec(CMenuTarget* /*parent*/, const std::string&) g_settings.hdd_noise, g_settings.hdd_sleep, namelist[i]->d_name); //hdparm -M is not included in busybox hdparm! //we need full version of hdparm or should remove -M parameter here - snprintf(cmd, sizeof(cmd), "hdparm -M%d -S%d /dev/%s >/dev/null 2>/dev/null", + snprintf(cmd, sizeof(cmd), "hdparm -M%d -S%d /dev/%s >/dev/null 2>/dev/null &", g_settings.hdd_noise, g_settings.hdd_sleep, namelist[i]->d_name); system(cmd); free(namelist[i]);