diff options
Diffstat (limited to 'sysconfig')
-rwxr-xr-x | sysconfig/network-scripts/ifup | 2 |
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 |