aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup
diff options
context:
space:
mode:
Diffstat (limited to 'sysconfig/network-scripts/ifup')
-rwxr-xr-xsysconfig/network-scripts/ifup2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifup b/sysconfig/network-scripts/ifup
index f697e60a..cbc1113c 100755
--- a/sysconfig/network-scripts/ifup
+++ b/sysconfig/network-scripts/ifup
@@ -147,7 +147,7 @@ if [ "$IPSETUP" != yes ]; then
done
fi
- if [ -n "$BOOTPHOSTNAME" -a -z "`hostname`" ]; then
+ if [ -n "$BOOTPHOSTNAME" -a "`hostname`" = "(none)" ]; then
hostname $BOOTPHOSTNAME
fi
fi