aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts
diff options
context:
space:
mode:
Diffstat (limited to 'sysconfig/network-scripts')
-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