diff options
author | Miloslav Trmac <mitr@volny.cz> | 2006-03-20 02:38:39 +0000 |
---|---|---|
committer | Miloslav Trmac <mitr@volny.cz> | 2006-03-20 02:38:39 +0000 |
commit | 2613fc40ec05181ab50e68e4a3d24663a071318a (patch) | |
tree | 3302111094b7c703fb2fa20c37e22130ba4cef51 /sysconfig/network-scripts/ifup-ppp | |
parent | 658784e3955a7631f10b502f3a828ac12b5073c6 (diff) | |
download | initscripts-2613fc40ec05181ab50e68e4a3d24663a071318a.tar initscripts-2613fc40ec05181ab50e68e4a3d24663a071318a.tar.gz initscripts-2613fc40ec05181ab50e68e4a3d24663a071318a.tar.bz2 initscripts-2613fc40ec05181ab50e68e4a3d24663a071318a.tar.xz initscripts-2613fc40ec05181ab50e68e4a3d24663a071318a.zip |
Don't unnecessarily keep the ifup-ppp process (#163950, patch by Avi Kivity
<avi@argo.co.il>)
Diffstat (limited to 'sysconfig/network-scripts/ifup-ppp')
-rwxr-xr-x | sysconfig/network-scripts/ifup-ppp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifup-ppp b/sysconfig/network-scripts/ifup-ppp index c38d782c..ef6c81b9 100755 --- a/sysconfig/network-scripts/ifup-ppp +++ b/sysconfig/network-scripts/ifup-ppp @@ -133,14 +133,16 @@ fi if [ ${DEMAND} = yes ] ; then opts="$opts demand ktune idle ${IDLETIMEOUT} holdoff ${RETRYTIMEOUT}" + exec= else opts="$opts nodetach" + exec=exec fi (logger -p daemon.info -t ifup-ppp \ $"pppd started for ${DEVNAME} on ${MODEMPORT} at ${LINESPEED}" &)& -pppd $opts ${MODEMPORT} ${LINESPEED} \ +$exec pppd $opts ${MODEMPORT} ${LINESPEED} \ ipparam ${DEVNAME} linkname ${DEVNAME} call ${DEVNAME}\ noauth \ ${PPPOPTIONS} || exit |