1 |
diff -urNp initscripts-9.03.31-orig/rc.d/rc.sysinit initscripts-9.03.31/rc.d/rc.sysinit |
2 |
--- initscripts-9.03.31-orig/rc.d/rc.sysinit 2012-04-27 11:48:34.000000000 +0200 |
3 |
+++ initscripts-9.03.31/rc.d/rc.sysinit 2012-05-23 17:15:24.757739186 +0200 |
4 |
@@ -156,7 +156,7 @@ apply_sysctl |
5 |
# Set the hostname. |
6 |
update_boot_stage RChostname |
7 |
action $"Setting hostname ${HOSTNAME}: " hostname ${HOSTNAME} |
8 |
-[ -z "${NISDOMAIN}" ] && domainname ${NISDOMAIN} |
9 |
+[ -n "${NISDOMAIN}" ] && domainname ${NISDOMAIN} |
10 |
|
11 |
# Sync waiting for storage. |
12 |
{ rmmod scsi_wait_scan ; modprobe scsi_wait_scan ; rmmod scsi_wait_scan ; } >/dev/null 2>&1 |