aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ppp-watch.82
-rwxr-xr-xsysconfig/network-scripts/ifup-ppp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/ppp-watch.8 b/src/ppp-watch.8
index 337f0676..d2b8cc4b 100644
--- a/src/ppp-watch.8
+++ b/src/ppp-watch.8
@@ -3,7 +3,7 @@
ppp-watch \- daemon to make PPP interfaces act more like other interfaces
.SH SYNOPSIS
.B ppp-watch
-\fIinterface-name\fP \fIinterface-name\fP [boot]
+\fIinterface-name\fP [boot]
.SH DESCRIPTION
.B ppp-watch
manages one PPP connection, including starting, stopping, and redialing.
diff --git a/sysconfig/network-scripts/ifup-ppp b/sysconfig/network-scripts/ifup-ppp
index d6898357..99b0e79f 100755
--- a/sysconfig/network-scripts/ifup-ppp
+++ b/sysconfig/network-scripts/ifup-ppp
@@ -18,7 +18,7 @@ else
if [ "${DEMAND}" != yes -a "$TYPE" != "xDSL" ] ; then
# let ppp-watch do the right thing
shift
- exec /sbin/ppp-watch "${DEVICE}" "$@"
+ exec /sbin/ppp-watch "${DEVICE}" "$2"
fi
fi