diff options
-rw-r--r-- | src/Makefile | 5 | ||||
-rw-r--r-- | src/ppp-watch.8 | 23 |
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. |