aboutsummaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>1998-11-05 01:13:07 +0000
committerH. Peter Anvin <hpa@zytor.com>1998-11-05 01:13:07 +0000
commit8e618f6dcae16af89c1f997ea28818d2041be184 (patch)
treef356fae77e20f46703a89aa0aeec31885624ba4b /man
parentca8319499268f07a02e95e0030ccbac8b59606ce (diff)
downloadautofs3-8e618f6dcae16af89c1f997ea28818d2041be184.tar.gz
autofs3-8e618f6dcae16af89c1f997ea28818d2041be184.tar.xz
autofs3-8e618f6dcae16af89c1f997ea28818d2041be184.zip
Various documentation changes to be more RedHat-friendly and less Debian-
centric; add .spec file from RedHat RPM (goal is to be able to at least publish the SRPM file automatically); add pointer to HOWTO.
Diffstat (limited to 'man')
-rw-r--r--man/Makefile15
-rw-r--r--man/auto.master.52
-rw-r--r--man/autofs.52
-rw-r--r--man/autofs.8.in (renamed from man/autofs.8)10
4 files changed, 18 insertions, 11 deletions
diff --git a/man/Makefile b/man/Makefile
index e6a4d4e..bab0aef 100644
--- a/man/Makefile
+++ b/man/Makefile
@@ -3,11 +3,18 @@
-include ../Makefile.conf
include ../Makefile.rules
-install:
+GENFILES = $(patsubst %.in, %, $(wildcard *.[58].in))
+
+.SUFFIXES: .in
+
+.in:
+ sed -e 's/@@INIT.D@@/$(initdir)/g' < $< > $@
+
+all: $(GENFILES)
+
+install: all
install -c *.5 -m 644 $(INSTALLROOT)$(mandir)/man5
install -c *.8 -m 644 $(INSTALLROOT)$(mandir)/man8
-all:
-
clean:
-
+ rm -f $(GENFILES)
diff --git a/man/auto.master.5 b/man/auto.master.5
index 8ecf72e..7e95f75 100644
--- a/man/auto.master.5
+++ b/man/auto.master.5
@@ -32,7 +32,7 @@ The file has three fields separated by an arbitrary number of blanks or
tabs. Lines beginning with # are comments. The first field is the mount
point. Second field is the map file to be consulted for this mount-point.
The third field is optional and can contain options to be applied to all
-entries in the map. Options are cumulative which is a difference to the
+entries in the map. Options are cumulative, which is a difference to the
behavior of the SunOS automounter.
The format of the map file and the options are described in
diff --git a/man/autofs.5 b/man/autofs.5
index 015e333..ecd1c56 100644
--- a/man/autofs.5
+++ b/man/autofs.5
@@ -79,7 +79,7 @@ An & character in the
is expanded to the value of the
.B key
field that matched the line (which probably only makes sense together with
-a wildchard key).
+a wildcard key).
.SS Wildcard Key
A * in the
.B key
diff --git a/man/autofs.8 b/man/autofs.8.in
index 8e00d0a..2741c86 100644
--- a/man/autofs.8
+++ b/man/autofs.8.in
@@ -1,9 +1,9 @@
.\" $Id$
.TH AUTOFS 8 "9 Sep 1997"
.SH NAME
-/etc/init.d/autofs \- Control Script for automounter
+@@INIT.D@@/autofs \- Control Script for automounter
.SH SYNOPSIS
-.B /etc/init.d/autofs
+.B @@INIT.D@@/autofs
.I start|stop|reload
.SH "DESCRIPTION"
.B autofs
@@ -30,7 +30,7 @@ to find mount points on the system. For each of those mount points a
.BR automount (8)
process is started with the appropriate parameters. You can check the
active mount points for the automounter with the
-.B /etc/init.d/autofs status
+.B @@INIT.D@@/autofs status
command. After the
.I auto.master
configuration file is processed the
@@ -39,7 +39,7 @@ script will check for an NIS map with the same name. If such a map exists
then that map will be processed in the same way as the auto.master map. The
NIS map will be processed last.
.P
-.B /etc/init.d/autofs reload
+.B @@INIT.D@@/autofs reload
will check the current auto.master map against running daemons. It will kill
those daemons whose entries have changed and then start daemons for new or
changed entries.
@@ -51,7 +51,7 @@ map is modified then the
.B autofs
script must be rerun to activate the changes.
.P
-.B /etc/init.d/autofs status
+.B @@INIT.D@@/autofs status
will display the current configuration and a list of currently running
automount daemons.
.SH "SEE ALSO"