mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 09:21:09 +02:00
netfs_setup: align smb-mounts to new automount-syntax
Origin commit data
------------------
Commit: b9c285018c
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-08-09 (Wed, 09 Aug 2017)
Origin message was:
------------------
- netfs_setup: align smb-mounts to new automount-syntax
This commit is contained in:
@@ -337,7 +337,7 @@ int CNETFSMountGui::write_config(int mt)
|
||||
<< g_settings.netfs[mt][i].options1
|
||||
<< (g_settings.netfs[mt][i].options2.empty() ? "" : ",")
|
||||
<< g_settings.netfs[mt][i].options2 << '\t' << '\t'
|
||||
<< "//" << ((g_settings.netfs[mt][i].ip.empty()) ? "0.0.0.0" : g_settings.netfs[mt][i].ip)
|
||||
<< "://" << ((g_settings.netfs[mt][i].ip.empty()) ? "0.0.0.0" : g_settings.netfs[mt][i].ip)
|
||||
<< (((!g_settings.netfs[mt][i].dir.empty()) && g_settings.netfs[mt][i].dir[0]!='/') ? "/" : "")
|
||||
<< ((g_settings.netfs[mt][i].dir.empty()) ? "netfsDir" : g_settings.netfs[mt][i].dir) << '\n';
|
||||
}
|
||||
|
Reference in New Issue
Block a user