2018-11-01 Fred Gleason <fredg@paravelsystems.com>

* Modified rdselect_helper(8) to include the value of the value of
	the 'MountOptions=' parameter in rd.conf(5) when configuring
	audio store mounts.
This commit is contained in:
Fred Gleason
2018-11-01 13:40:15 -04:00
parent f9e0e152ba
commit 7e26b04e40
2 changed files with 10 additions and 2 deletions

View File

@@ -17955,3 +17955,7 @@
2018-11-01 Fred Gleason <fredg@paravelsystems.com>
* Modified rdselect_helper(8) to use the automounter for managing
audio store mounts.
2018-11-01 Fred Gleason <fredg@paravelsystems.com>
* Modified rdselect_helper(8) to include the value of the value of
the 'MountOptions=' parameter in rd.conf(5) when configuring
audio store mounts.

View File

@@ -115,9 +115,13 @@ void MainObject::Startup()
exit(RDConfig::RDSelectCantAccessAutomount);
}
fprintf(f,"%s",RDSELECT_AUTOMOUNT_WARNING);
fprintf(f,"%s\t-fstype=%s\t%s\n",
QString options="-fstype="+helper_config->audioStoreMountType();
if(!helper_config->audioStoreMountOptions().isEmpty()) {
options+=","+helper_config->audioStoreMountOptions();
}
fprintf(f,"%s\t%s\t%s\n",
(const char *)helper_config->audioRoot().toUtf8(),
(const char *)helper_config->audioStoreMountType().toUtf8(),
(const char *)options.toUtf8(),
(const char *)helper_config->audioStoreMountSource().toUtf8());
fclose(f);