mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 09:21:09 +02:00
netfs_setup: write correct filenames into fstab and auto.net
Origin commit data
------------------
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
This commit is contained in:
@@ -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"
|
||||
|
Reference in New Issue
Block a user