mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-10 16:43:35 +02:00
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:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user