aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup
diff options
context:
space:
mode:
Diffstat (limited to 'sysconfig/network-scripts/ifup')
-rwxr-xr-xsysconfig/network-scripts/ifup4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysconfig/network-scripts/ifup b/sysconfig/network-scripts/ifup
index be8c48b9..209fd41a 100755
--- a/sysconfig/network-scripts/ifup
+++ b/sysconfig/network-scripts/ifup
@@ -49,7 +49,7 @@ if [ "$BOOTP" = "yes" ]; then
BOOTPROTO=bootp
fi
-if [ "$BOOTPROTO" = bootp -r "$BOOTPROTO" = dhcp ]; then
+if [ "$BOOTPROTO" = bootp -o "$BOOTPROTO" = dhcp ]; then
PUMP=true
fi
@@ -78,7 +78,7 @@ if [ "$SLAVE" = yes -a "$ISALIAS" = no -a "$MASTER" != "" -a \
fi
if [ -n "$PUMP" ]; then
- echo "Determing IP information for $DEVICE..."
+ echo -n "Determing IP information for $DEVICE..."
if /sbin/pump -i $DEVICE ; then
echo " done."
else