aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup-ppp
diff options
context:
space:
mode:
Diffstat (limited to 'sysconfig/network-scripts/ifup-ppp')
-rwxr-xr-xsysconfig/network-scripts/ifup-ppp5
1 files changed, 4 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifup-ppp b/sysconfig/network-scripts/ifup-ppp
index e09c3fd0..2b245bbb 100755
--- a/sysconfig/network-scripts/ifup-ppp
+++ b/sysconfig/network-scripts/ifup-ppp
@@ -4,8 +4,11 @@ PATH=/sbin:/usr/sbin:/bin:/usr/bin
# ifup-post for PPP is handled through /etc/ppp/ip-up
if [ "$1" != daemon ] ; then
+ # just in case a full path to the configuration file is passed in
+ ifcfg=$(basename $1)
+ shift
# let ppp-watch do the right thing
- exec /sbin/ppp-watch "$@"
+ exec /sbin/ppp-watch "$ifcfg" "$@"
fi
shift