netfs_setup: write correct filenames into fstab and auto.net

Origin commit data
------------------
Branch: ni/coolstream
Commit: 19189cc09d
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-08-12 (Sat, 12 Aug 2017)

Origin message was:
------------------
- netfs_setup: write correct filenames into fstab and auto.net

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2017-08-12 09:28:17 +02:00
parent 793c4a801e
commit 6d0a2f8950

View File

@@ -264,7 +264,7 @@ int CNETFSMountGui::write_config(int mt)
{
if(mt == SNeutrinoSettings::FSTAB)
{
config_file << "# /etc/fstab: static file system information (generated from NetFS setup).\n"
config_file << "# " << fstabPath << ": static file system information (generated from NetFS setup).\n"
<< "#\n"
<< "# <file system> <mount point> <type> <options> <dump> <pass>\n";
@@ -306,7 +306,7 @@ int CNETFSMountGui::write_config(int mt)
}
else
{
config_file << "# /etc/auto.net: dynamic file system information (generated from NetFS setup).\n"
config_file << "# " << autoPath << ": dynamic file system information (generated from NetFS setup).\n"
<< "#\n"
<< "# Every single mount point below will be available in /mnt/autofs during start\n"
<< "# or possibly even later if you request it.\n"