summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sade/config.c
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2001-04-01 09:19:23 +0000
committerobrien <obrien@FreeBSD.org>2001-04-01 09:19:23 +0000
commitde0b98d83b72a213843a794c687e49071e0a1a33 (patch)
tree47675faf55cb9fd4bb7969bb36864f358fb98363 /usr.sbin/sade/config.c
parentee99514290d0b872945b39139ef67e4f426da459 (diff)
downloadFreeBSD-src-de0b98d83b72a213843a794c687e49071e0a1a33.zip
FreeBSD-src-de0b98d83b72a213843a794c687e49071e0a1a33.tar.gz
Give a little more variety in the /etc/exports example.
Diffstat (limited to 'usr.sbin/sade/config.c')
-rw-r--r--usr.sbin/sade/config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/sade/config.c b/usr.sbin/sade/config.c
index 5cd5e6b..c86987e 100644
--- a/usr.sbin/sade/config.c
+++ b/usr.sbin/sade/config.c
@@ -972,10 +972,10 @@ configNFSServer(dialogMenuItem *self)
"Press [ENTER] now to invoke an editor on /etc/exports\n");
vsystem("echo '#The following examples export /usr to 3 machines named after ducks,' > /etc/exports");
vsystem("echo '#/home and all directories under it to machines named after dead rock stars' >> /etc/exports");
- vsystem("echo '#and, finally, /a to 2 privileged machines allowed to write on it as root.' >> /etc/exports");
+ vsystem("echo '#and, /a to a network of privileged machines allowed to write on it as root.' >> /etc/exports");
vsystem("echo '#/usr huey louie dewie' >> /etc/exports");
vsystem("echo '#/home -alldirs janice jimmy frank' >> /etc/exports");
- vsystem("echo '#/a -maproot=0 bill albert' >> /etc/exports");
+ 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 >> /etc/exports");
OpenPOWER on IntegriCloud