From 8e2fb66a11bc2d88de240437cce6d206329070db Mon Sep 17 00:00:00 2001 From: Than Ngo Date: Tue, 21 Aug 2001 16:40:46 +0000 Subject: * fix Bringing up isdn device again. It works now correct --- ChangeLog | 4 ++++ initscripts.spec | 5 ++++- sysconfig/network-scripts/ifup-ippp | 8 ++++---- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index de399532..0d443378 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2001-08-21 Than Ngo + * sysconfig/network-scripts/ifup-ippp + - fix Bringing up isdn device again. It works now correct. + 2001-08-21 Than Ngo * sysconfig/network-scripts/ifup-ippp, sysconfig/network-scripts/ifdown-ippp - fix shutdown/Bringing up isdn device diff --git a/initscripts.spec b/initscripts.spec index 215fbcfc..785250ca 100644 --- a/initscripts.spec +++ b/initscripts.spec @@ -1,6 +1,6 @@ Summary: The inittab file and the /etc/init.d scripts. Name: initscripts -Version: 6.23 +Version: 6.24 License: GPL Group: System Environment/Base Release: 1 @@ -239,6 +239,9 @@ rm -rf $RPM_BUILD_ROOT %dir /etc/locale/*/LC_MESSAGES %changelog +* Tue Aug 21 2001 Than Ngo +- fix Bringing up isdn device again. It works now correct. + * Tue Aug 21 2001 Than Ngo - fix shutdown/Bringing up isdn device diff --git a/sysconfig/network-scripts/ifup-ippp b/sysconfig/network-scripts/ifup-ippp index 04deb54f..4fff2903 100755 --- a/sysconfig/network-scripts/ifup-ippp +++ b/sysconfig/network-scripts/ifup-ippp @@ -14,6 +14,10 @@ CONFIG=$1 # load device net config . $CONFIG +if [ ! -f /var/lock/subsys/isdn -a -x /etc/rc.d/init.d/isdn ] ; then + /etc/rc.d/init.d/isdn start +fi + # check that ipppd is available for syncppp if [ "$ENCAP" = "syncppp" ]; then if [ ! -x /usr/sbin/ipppd -a ! -x /sbin/ipppd ] ; then @@ -313,10 +317,6 @@ function addprovider() fi } -if [ ! -f /var/lock/subsys/isdn -a -x /etc/rc.d/init.d/isdn ] ; then - /etc/rc.d/init.d/isdn start -fi - addprovider || exit 1 /etc/sysconfig/network-scripts/ifup-post $CONFIG -- cgit v1.2.1