aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup-ippp
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 /sysconfig/network-scripts/ifup-ippp
parent93e74614c9521f3a05c1ce8de7ebfbe4527da63c (diff)
downloadinitscripts-8e2fb66a11bc2d88de240437cce6d206329070db.tar
initscripts-8e2fb66a11bc2d88de240437cce6d206329070db.tar.gz
initscripts-8e2fb66a11bc2d88de240437cce6d206329070db.tar.bz2
initscripts-8e2fb66a11bc2d88de240437cce6d206329070db.tar.xz
initscripts-8e2fb66a11bc2d88de240437cce6d206329070db.zip
* fix Bringing up isdn device again. It works now correctr6-24
Diffstat (limited to 'sysconfig/network-scripts/ifup-ippp')
-rwxr-xr-xsysconfig/network-scripts/ifup-ippp8
1 files changed, 4 insertions, 4 deletions
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