X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage2%2Fbootscripts%2Fifdown;h=52a20df3b01e757b0b06647585555cc84a1bdd20;hb=2a71f1dd83720c7648a846742a09b3b60b69c321;hp=cc0951a921cf3f7e9d5d693fd35cda8bfba249a6;hpb=16cc35ba4890382ee9368a176e4f5a7fa773b7a6;p=hvlinux.git diff --git a/stage2/bootscripts/ifdown b/stage2/bootscripts/ifdown index cc0951a..52a20df 100755 --- a/stage2/bootscripts/ifdown +++ b/stage2/bootscripts/ifdown @@ -23,7 +23,7 @@ check_brctl() fi } -if [ "$BOOTPROTO" == "dhcp" ]; then +if [ "x${BOOTPROTO}" = "xdhcp" ]; then # DHCP configuration # Load DHCP client parameters @@ -54,7 +54,7 @@ if [ -n "${BRIDGE_TO}" ]; then fi # Determining if the interface is a bridge: -if [ "x${BRIDGE}" == "xyes" ]; then +if [ "x${BRIDGE}" = "xyes" ]; then # Check that the brctl program is present and executable. if [ ! -x ${BRCTL} ]; then msg_log "*** ERROR: /usr/sbin/brctl not found."