aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2005-04-15 19:43:51 +0000
committerBill Nottingham <notting@redhat.com>2005-04-15 19:43:51 +0000
commitc4681d38ee267a8f769fa459a837c8f683863605 (patch)
treec8feac8516a5b8270d22ee7716010dfafc2029b7
parent1cfa0397df273e65aca2066f828c0dfee502bd61 (diff)
downloadinitscripts-c4681d38ee267a8f769fa459a837c8f683863605.tar
initscripts-c4681d38ee267a8f769fa459a837c8f683863605.tar.gz
initscripts-c4681d38ee267a8f769fa459a837c8f683863605.tar.bz2
initscripts-c4681d38ee267a8f769fa459a837c8f683863605.tar.xz
initscripts-c4681d38ee267a8f769fa459a837c8f683863605.zip
get rid of an ifconfig use
-rwxr-xr-xsysconfig/network-scripts/ifdown-ippp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifdown-ippp b/sysconfig/network-scripts/ifdown-ippp
index 918b4a3b..07f11053 100755
--- a/sysconfig/network-scripts/ifdown-ippp
+++ b/sysconfig/network-scripts/ifdown-ippp
@@ -23,7 +23,7 @@ fi
# shutdown isdn device
isdnctrl hangup $DEVICE >/dev/null 2>&1
sleep 1
-ifconfig $DEVICE down >/dev/null 2>&1
+ip link set dev $DEVICE down >/dev/null 2>&1
# delete isdn device
isdnctrl delif $DEVICE >/dev/null 2>&1