--- ypbind.old 2007-12-15 16:17:03.000000000 -0700 +++ ypbind 2007-12-15 16:18:42.000000000 -0700 @@ -6,6 +6,7 @@ case "$1" in start) stat_busy "Starting NIS Bind Daemon" + if [ -f /etc/defaultdomain ]; then /bin/domainname `cat /etc/defaultdomain`; fi /usr/sbin/ypbind if [ $? -gt 0 ]; then stat_fail