aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThan Ngo <than@redhat.com>2001-08-21 16:40:46 +0000
committerThan Ngo <than@redhat.com>2001-08-21 16:40:46 +0000
commit8e2fb66a11bc2d88de240437cce6d206329070db (patch)
tree36131656cd71ca440b59fe6ed5bfd840a9fb89e8
parent93e74614c9521f3a05c1ce8de7ebfbe4527da63c (diff)
downloadinitscripts-r6-24.tar
initscripts-r6-24.tar.gz
initscripts-r6-24.tar.bz2
initscripts-r6-24.tar.xz
initscripts-r6-24.zip
* fix Bringing up isdn device again. It works now correctr6-24
-rw-r--r--ChangeLog4
-rw-r--r--initscripts.spec5
-rwxr-xr-xsysconfig/network-scripts/ifup-ippp8
3 files changed, 12 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index de399532..0d443378 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,8 @@
2001-08-21 Than Ngo <than@redhat.com>
+ * sysconfig/network-scripts/ifup-ippp
+ - fix Bringing up isdn device again. It works now correct.
+
+2001-08-21 Than Ngo <than@redhat.com>
* 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
@@ -240,6 +240,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Tue Aug 21 2001 Than Ngo <than@redhat.com>
+- fix Bringing up isdn device again. It works now correct.
+
+* Tue Aug 21 2001 Than Ngo <than@redhat.com>
- fix shutdown/Bringing up isdn device
* Mon Aug 20 2001 Nalin Dahyabhai <nalin@redhat.com>
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