aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifdown
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2005-01-12 20:12:07 +0000
committerBill Nottingham <notting@redhat.com>2005-01-12 20:12:07 +0000
commit3997a261ac3754b51241275505b6ae5e5b009ed7 (patch)
tree9164636cbcfd45fe95c492ed2bce843b16022cec /sysconfig/network-scripts/ifdown
parent47c2a2377d2b20aee62ca46d44172324dff02da3 (diff)
downloadinitscripts-3997a261ac3754b51241275505b6ae5e5b009ed7.tar
initscripts-3997a261ac3754b51241275505b6ae5e5b009ed7.tar.gz
initscripts-3997a261ac3754b51241275505b6ae5e5b009ed7.tar.bz2
initscripts-3997a261ac3754b51241275505b6ae5e5b009ed7.tar.xz
initscripts-3997a261ac3754b51241275505b6ae5e5b009ed7.zip
oops, fix syntax
Diffstat (limited to 'sysconfig/network-scripts/ifdown')
-rwxr-xr-xsysconfig/network-scripts/ifdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifdown b/sysconfig/network-scripts/ifdown
index 3c64bf27..5bc8f5e8 100755
--- a/sysconfig/network-scripts/ifdown
+++ b/sysconfig/network-scripts/ifdown
@@ -83,7 +83,7 @@ retcode=0
if [ "$BOOTPROTO" = bootp -o "$BOOTPROTO" = dhcp ]; then
[ -n "`pidof -x dhclient`" ] && {
if [ -f "/var/run/dhclient-${DEVICE}.pid" ]; then
- if [ "$DHCPRELEASE" = [yY1]* ]; then
+ if [[ "$DHCPRELEASE" = [yY1]* ]]; then
/sbin/dhclient -r -lf /var/lib/dhcp/dhclient-${DEVICE}.leases -pf /var/run/dhclient-${DEVICE}.pid ${DEVICE} >/dev/null 2>&1
else
reason=STOP interface=${DEVICE} /sbin/dhclient-script