aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2004-11-01 16:32:09 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2004-11-01 16:32:09 +0000
commit1b0f4fd1dbc83553b8173a158959165b2b03b5d7 (patch)
tree98062927216082900ff86927eff686a5463a216b /usr.sbin
parent545ea86459d68640e5337fa94217475cee977544 (diff)
downloadsrc-1b0f4fd1dbc83553b8173a158959165b2b03b5d7.tar.gz
src-1b0f4fd1dbc83553b8173a158959165b2b03b5d7.zip
fix typo in generated /etc/exports: escape all '
Notes
Notes: svn path=/head/; revision=137109
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/sade/config.c2
-rw-r--r--usr.sbin/sysinstall/config.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/sade/config.c b/usr.sbin/sade/config.c
index 8b5c48fab09c..5eaaf24b9651 100644
--- a/usr.sbin/sade/config.c
+++ b/usr.sbin/sade/config.c
@@ -876,7 +876,7 @@ configNFSServer(dialogMenuItem *self)
vsystem("echo '#/a -maproot=0 -network 10.0.1.0 -mask 255.255.248.0' >> /etc/exports");
vsystem("echo '#' >> /etc/exports");
vsystem("echo '# You should replace these lines with your actual exported filesystems.' >> /etc/exports");
- vsystem("echo '# Note that BSD's export syntax is \"host-centric\" vs. Sun\'s \"FS-centric\" one.' >> /etc/exports");
+ vsystem("echo '# Note that BSD\'s export syntax is \"host-centric\" vs. Sun\'s \"FS-centric\" one.' >> /etc/exports");
vsystem("echo >> /etc/exports");
sprintf(cmd, "%s /etc/exports", variable_get(VAR_EDITOR));
dialog_clear();
diff --git a/usr.sbin/sysinstall/config.c b/usr.sbin/sysinstall/config.c
index 8b5c48fab09c..5eaaf24b9651 100644
--- a/usr.sbin/sysinstall/config.c
+++ b/usr.sbin/sysinstall/config.c
@@ -876,7 +876,7 @@ configNFSServer(dialogMenuItem *self)
vsystem("echo '#/a -maproot=0 -network 10.0.1.0 -mask 255.255.248.0' >> /etc/exports");
vsystem("echo '#' >> /etc/exports");
vsystem("echo '# You should replace these lines with your actual exported filesystems.' >> /etc/exports");
- vsystem("echo '# Note that BSD's export syntax is \"host-centric\" vs. Sun\'s \"FS-centric\" one.' >> /etc/exports");
+ vsystem("echo '# Note that BSD\'s export syntax is \"host-centric\" vs. Sun\'s \"FS-centric\" one.' >> /etc/exports");
vsystem("echo >> /etc/exports");
sprintf(cmd, "%s /etc/exports", variable_get(VAR_EDITOR));
dialog_clear();