diff options
author | Bill Nottingham <notting@redhat.com> | 2001-07-16 18:33:37 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2001-07-16 18:33:37 +0000 |
commit | c4c7bc16a9301e4f14dff5f6133ff686a914a3e8 (patch) | |
tree | f6d3052d441ad652ff50f3ad823ca648b1943bdd | |
parent | 5c84d335b4ea9fe6ef17c3176a6471ee696de286 (diff) | |
download | initscripts-c4c7bc16a9301e4f14dff5f6133ff686a914a3e8.tar initscripts-c4c7bc16a9301e4f14dff5f6133ff686a914a3e8.tar.gz initscripts-c4c7bc16a9301e4f14dff5f6133ff686a914a3e8.tar.bz2 initscripts-c4c7bc16a9301e4f14dff5f6133ff686a914a3e8.tar.xz initscripts-c4c7bc16a9301e4f14dff5f6133ff686a914a3e8.zip |
remove ip address on ifdown
-rwxr-xr-x | sysconfig/network-scripts/ifdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifdown b/sysconfig/network-scripts/ifdown index eec308e4..557c5c9e 100755 --- a/sysconfig/network-scripts/ifdown +++ b/sysconfig/network-scripts/ifdown @@ -64,7 +64,7 @@ if [ "$BOOTPROTO" = bootp -o "$BOOTPROTO" = dhcp ]; then } fi - +ip addr del ${IPADDR}/${PREFIX} brd ${BROADCAST:-+} dev ${DEVICE} ip link set ${DEVICE} down [ "$retcode" = "0" ] && retcode=$? |