diff options
author | Erik Troan <ewt@redhat.com> | 1999-03-10 16:57:50 +0000 |
---|---|---|
committer | Erik Troan <ewt@redhat.com> | 1999-03-10 16:57:50 +0000 |
commit | 6d2ac2a47bc68516a10ce8fde2a035d4bca3a425 (patch) | |
tree | ea83ade0eccbcd90c65236325e2ab15dee546575 /sysconfig/network-scripts/ifdown | |
parent | 4e6201458d7ab6429270583a3f156311262c27b0 (diff) | |
download | initscripts-6d2ac2a47bc68516a10ce8fde2a035d4bca3a425.tar initscripts-6d2ac2a47bc68516a10ce8fde2a035d4bca3a425.tar.gz initscripts-6d2ac2a47bc68516a10ce8fde2a035d4bca3a425.tar.bz2 initscripts-6d2ac2a47bc68516a10ce8fde2a035d4bca3a425.tar.xz initscripts-6d2ac2a47bc68516a10ce8fde2a035d4bca3a425.zip |
pump actually works now
Diffstat (limited to 'sysconfig/network-scripts/ifdown')
-rwxr-xr-x | sysconfig/network-scripts/ifdown | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/sysconfig/network-scripts/ifdown b/sysconfig/network-scripts/ifdown index 94fe5593..6f02c394 100755 --- a/sysconfig/network-scripts/ifdown +++ b/sysconfig/network-scripts/ifdown @@ -41,13 +41,8 @@ else ISALIAS=no fi -if [ "$BOOTPROTO" = dhcp -a "$ISALIAS" = no ]; then - if [ -f /var/run/dhcpcd-${DEVICE}.pid ]; then - kill `cat /var/run/dhcpcd-${DEVICE}.pid` - rm -f /var/run/dhcpcd-${DEVICE}.pid - exit 0 - fi - exit 1 +if [ "$BOOTPROTO" = bootp -o "$BOOTPROTO" = dhcp ]; then + pump -r -i ${DEVICE} fi ifconfig ${DEVICE} down |