aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichael K. Johnson <johnsonm@redhat.com>1999-11-19 21:59:30 +0000
committerMichael K. Johnson <johnsonm@redhat.com>1999-11-19 21:59:30 +0000
commitd3d803759abbf7bf590d564cdf1d510605a7ea20 (patch)
treed4aabf6ad20b5a74b5613f8ac9fd42c015444c14 /src
parentf58123a527b37e871e74e07e2a4eb92d10fe6d35 (diff)
downloadinitscripts-d3d803759abbf7bf590d564cdf1d510605a7ea20.tar
initscripts-d3d803759abbf7bf590d564cdf1d510605a7ea20.tar.gz
initscripts-d3d803759abbf7bf590d564cdf1d510605a7ea20.tar.bz2
initscripts-d3d803759abbf7bf590d564cdf1d510605a7ea20.tar.xz
initscripts-d3d803759abbf7bf590d564cdf1d510605a7ea20.zip
added ppp-watch man page
Diffstat (limited to 'src')
-rw-r--r--src/Makefile5
-rw-r--r--src/ppp-watch.823
2 files changed, 26 insertions, 2 deletions
diff --git a/src/Makefile b/src/Makefile
index e21aa10e..1e96eecc 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -12,7 +12,7 @@ clean:
rm -f $(PROGS) *.o
install:
- mkdir -p $(ROOT)/bin $(ROOT)/usr/sbin $(ROOT)/usr/man/man1 $(ROOT)/etc
+ mkdir -p $(ROOT)/bin $(ROOT)/usr/sbin $(ROOT)/usr/man/man{1,8} $(ROOT)/etc
install -s -m 755 doexec $(ROOT)/bin/doexec
install -s -m 755 usleep $(ROOT)/bin/usleep
install -s -m 4755 usernetctl $(ROOT)/usr/sbin/usernetctl
@@ -27,7 +27,8 @@ install:
install -m 644 doexec.1 $(ROOT)/usr/man/man1
install -m 644 netreport.1 $(ROOT)/usr/man/man1
install -m 644 usleep.1 $(ROOT)/usr/man/man1
- install -m 644 usernetctl.1 $(ROOT)/usr/man/man1
+ install -m 644 usernetctl.8 $(ROOT)/usr/man/man8
+ install -m 644 ppp-watch.8 $(ROOT)/usr/man/man8
install -m 644 ipcalc.1 $(ROOT)/usr/man/man1
install -m 644 consoletype.1 $(ROOT)/usr/man/man1
install -m 644 initlog.conf $(ROOT)/etc
diff --git a/src/ppp-watch.8 b/src/ppp-watch.8
new file mode 100644
index 00000000..337f0676
--- /dev/null
+++ b/src/ppp-watch.8
@@ -0,0 +1,23 @@
+.TH PPP-WATCH 8 "Red Hat, Inc." "RHS" \" -*- nroff -*-
+.SH NAME
+ppp-watch \- daemon to make PPP interfaces act more like other interfaces
+.SH SYNOPSIS
+.B ppp-watch
+\fIinterface-name\fP \fIinterface-name\fP [boot]
+.SH DESCRIPTION
+.B ppp-watch
+manages one PPP connection, including starting, stopping, and redialing.
+It makes starting and stopping the connection synchronous activities.
+
+.B ppp-watch
+is not really meant to be called directly. It should only be used from
+within the ifup-ppp script.
+.SH OPTIONS
+.TP
+.I interface-name
+The name of the PPP interface to bring up.
+.TP
+boot
+ppp-watch is being called at boot time and should time out after a
+while if the PPP connection does not come up in order not to hang
+the boot sequence.