diff options
author | Than Ngo <than@redhat.com> | 2001-08-22 12:41:21 +0000 |
---|---|---|
committer | Than Ngo <than@redhat.com> | 2001-08-22 12:41:21 +0000 |
commit | 0d423d7132eae06db7e1999925955292218be655 (patch) | |
tree | dfc085423fa3d4ad78d37bb09dfdec4119d854f3 /sysconfig/network-scripts | |
parent | c1835409e6153b40856ef136de5b55b175c9fde9 (diff) | |
download | initscripts-0d423d7132eae06db7e1999925955292218be655.tar initscripts-0d423d7132eae06db7e1999925955292218be655.tar.gz initscripts-0d423d7132eae06db7e1999925955292218be655.tar.bz2 initscripts-0d423d7132eae06db7e1999925955292218be655.tar.xz initscripts-0d423d7132eae06db7e1999925955292218be655.zip |
* fix return code of isdnctrlr6-25
Diffstat (limited to 'sysconfig/network-scripts')
-rwxr-xr-x | sysconfig/network-scripts/ifup-ippp | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/sysconfig/network-scripts/ifup-ippp b/sysconfig/network-scripts/ifup-ippp index 0619ac7c..89ae25cc 100755 --- a/sysconfig/network-scripts/ifup-ippp +++ b/sysconfig/network-scripts/ifup-ippp @@ -6,13 +6,20 @@ PATH=/sbin:/usr/sbin:/bin:/usr/bin +cd /etc/sysconfig/network-scripts +. network-functions +. /etc/rc.d/init.d/functions + DEBUG="no" # set device CONFIG=$1 +[ -f "${CONFIG}" ] || CONFIG=ifcfg-${1} +source_config -# load device net config -. $CONFIG +if [ "${2}" = "boot" -a "${ONBOOT}" = "no" ]; then + exit +fi if [ ! -f /var/lock/subsys/isdn -a -x /etc/rc.d/init.d/isdn ] ; then /etc/rc.d/init.d/isdn start @@ -319,6 +326,4 @@ function addprovider() addprovider || exit 1 -/etc/sysconfig/network-scripts/ifup-post $CONFIG - exit 0 |