From 79068935526e07e15cbb7b153608e0d8fe0b7e01 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Sat, 12 Aug 2017 09:28:17 +0200 Subject: [PATCH] netfs_setup: write correct filenames into fstab and auto.net Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/19189cc09d6b0c9bafbf9b21aeb6c38fd50ed636 Author: vanhofen Date: 2017-08-12 (Sat, 12 Aug 2017) Origin message was: ------------------ - netfs_setup: write correct filenames into fstab and auto.net --- src/gui/netfs_setup.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/netfs_setup.cpp b/src/gui/netfs_setup.cpp index 37ef77e8c..830e7c410 100644 --- a/src/gui/netfs_setup.cpp +++ b/src/gui/netfs_setup.cpp @@ -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" << "# \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"