aboutsummaryrefslogtreecommitdiff
path: root/arch/linux/common/.svn/text-base/nfs.h.svn-base
diff options
context:
space:
mode:
Diffstat (limited to 'arch/linux/common/.svn/text-base/nfs.h.svn-base')
-rw-r--r--arch/linux/common/.svn/text-base/nfs.h.svn-base29
1 files changed, 0 insertions, 29 deletions
diff --git a/arch/linux/common/.svn/text-base/nfs.h.svn-base b/arch/linux/common/.svn/text-base/nfs.h.svn-base
deleted file mode 100644
index 5ae22797..00000000
--- a/arch/linux/common/.svn/text-base/nfs.h.svn-base
+++ /dev/null
@@ -1,29 +0,0 @@
-static gchar *nfs_shares_list = NULL;
-void
-scan_nfs_shared_directories(void)
-{
- FILE *exports;
- gchar buf[512];
-
- if (nfs_shares_list) {
- g_free(nfs_shares_list);
- }
-
- nfs_shares_list = g_strdup("");
-
- exports = fopen("/etc/exports", "r");
- if (!exports)
- return;
-
- while (fgets(buf, 512, exports)) {
- if (buf[0] != '/')
- continue;
-
- strend(buf, ' ');
- strend(buf, '\t');
-
- nfs_shares_list = g_strconcat(nfs_shares_list, buf, "=\n", NULL);
- }
- fclose(exports);
-}
-