aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2003-01-14 03:46:51 +0000
committerBill Nottingham <notting@redhat.com>2003-01-14 03:46:51 +0000
commit3bed3282e6765421e3f2286480b5ce1dc2bf7c56 (patch)
tree2f0fbc79405c423f2b7c6c3d3707273dbc714128
parentcf35c506c018452c71e6eae2eb8425c5ab266005 (diff)
downloadinitscripts-3bed3282e6765421e3f2286480b5ce1dc2bf7c56.tar
initscripts-3bed3282e6765421e3f2286480b5ce1dc2bf7c56.tar.gz
initscripts-3bed3282e6765421e3f2286480b5ce1dc2bf7c56.tar.bz2
initscripts-3bed3282e6765421e3f2286480b5ce1dc2bf7c56.tar.xz
initscripts-3bed3282e6765421e3f2286480b5ce1dc2bf7c56.zip
fix ifup-ppp vs. ppp-watch at boot time (<goeran@uddeborg.pp.se>)
-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