add a comment because of missing -M parameter in busybox hdparm

- even wider window

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@918 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Commit: a04a4986ea
Author: gixxpunk <thomas.harfmann@gmail.com>
Date: 2010-11-30 (Tue, 30 Nov 2010)

Origin message was:
------------------
- add a comment because of missing -M parameter in busybox hdparm
- even wider window

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@918 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
gixxpunk
2010-11-30 17:00:31 +00:00
parent 122dd1a08b
commit 007e2355bb

View File

@@ -97,7 +97,7 @@ int CHDDMenuHandler::doMenu ()
}
#endif
CMenuWidget* hddmenu = new CMenuWidget(LOCALE_HDD_SETTINGS, NEUTRINO_ICON_SETTINGS, 48);
CMenuWidget* hddmenu = new CMenuWidget(LOCALE_HDD_SETTINGS, NEUTRINO_ICON_SETTINGS, 58);
hddmenu->addItem( GenericMenuBack );
hddmenu->addItem( GenericMenuSeparatorLine );
@@ -205,6 +205,8 @@ int CHDDDestExec::exec(CMenuTarget* /*parent*/, const std::string&)
for (int i = 0; i < n; i++) {
printf("CHDDDestExec: noise %d sleep %d /dev/%s\n",
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",
g_settings.hdd_noise, g_settings.hdd_sleep, namelist[i]->d_name);
system(cmd);