diff options
author | Nalin Dahyabhai <nalin@redhat.com> | 2000-08-24 02:40:34 +0000 |
---|---|---|
committer | Nalin Dahyabhai <nalin@redhat.com> | 2000-08-24 02:40:34 +0000 |
commit | 82e5ba1086fd1826538b96d1625bbf4e303f16ba (patch) | |
tree | 6e7105f99ee0bc7eebb3e75d2719376e22cfe837 | |
parent | 1ab5308438ace26929c034fc97f2ac5248ee3bf2 (diff) | |
download | initscripts-82e5ba1086fd1826538b96d1625bbf4e303f16ba.tar initscripts-82e5ba1086fd1826538b96d1625bbf4e303f16ba.tar.gz initscripts-82e5ba1086fd1826538b96d1625bbf4e303f16ba.tar.bz2 initscripts-82e5ba1086fd1826538b96d1625bbf4e303f16ba.tar.xz initscripts-82e5ba1086fd1826538b96d1625bbf4e303f16ba.zip |
add ktune holdoff ${RETRYTIMEOUT} to demand ppp options
-rw-r--r-- | initscripts.spec | 5 | ||||
-rwxr-xr-x | sysconfig/network-scripts/ifup-ppp | 11 |
2 files changed, 10 insertions, 6 deletions
diff --git a/initscripts.spec b/initscripts.spec index 4dd22784..263ee077 100644 --- a/initscripts.spec +++ b/initscripts.spec @@ -1,6 +1,6 @@ Summary: The inittab file and the /etc/init.d scripts. Name: initscripts -Version: 5.48 +Version: 5.49 Copyright: GPL Group: System Environment/Base Release: 1 @@ -232,6 +232,9 @@ rm -rf $RPM_BUILD_ROOT %ghost %attr(0664,root,utmp) /var/run/utmp %changelog +* Wed Aug 23 2000 Nalin Dahyabhai <nalin@redhat.com> +- set "holdoff ${RETRYTIMEOUT} ktune" for demand-dialed PPP links + * Tue Aug 22 2000 Bill Nottingham <notting@redhat.com> - update documentation (#15475) diff --git a/sysconfig/network-scripts/ifup-ppp b/sysconfig/network-scripts/ifup-ppp index fb9ce790..af44875d 100755 --- a/sysconfig/network-scripts/ifup-ppp +++ b/sysconfig/network-scripts/ifup-ppp @@ -33,6 +33,10 @@ if [ -z "${RETRYTIMEOUT}" ]; then RETRYTIMEOUT=30 fi +if [ -z "${IDLETIMEOUT}" ]; then + IDLETIMEOUT=600 +fi + if [ "${2}" = "boot" -a "${ONBOOT}" = "no" ]; then exit fi @@ -86,12 +90,9 @@ if [ "${DEBUG}" = yes ] ; then opts="$opts debug" chatdbg="-v" fi + if [ ${DEMAND} = yes ] ; then - if [ -n "${IDLETIMEOUT}" ] ; then - opts="$opts demand idle ${IDLETIMEOUT}" - else - opts="$opts demand idle 600" - fi + opts="$opts demand ktune idle ${IDLETIMEOUT} holdoff ${RETRYTIMEOUT}" else opts="$opts nodetach" fi |