Date: Sun, 17 Jan 2010 11:10:25 +0000 (UTC) From: Gavin Atkinson <gavin@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r202464 - stable/8/etc/rc.d Message-ID: <201001171110.o0HBAPmc002877@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: gavin Date: Sun Jan 17 11:10:24 2010 New Revision: 202464 URL: http://svn.freebsd.org/changeset/base/202464 Log: Merge r201440, r201445 from head: Don't complain when we encounter the "cache" source, it's valid. Also fix the error message to include a line feed and not include a stray comma. Submitted by: Artis Caune artis.caune gmail.com While here, change "> /dev/stderr" for more usual ">&2" Submitted by: jilles PR: bin/121671 Approved by: ed (mentor, implicit) Modified: stable/8/etc/rc.d/nsswitch Directory Properties: stable/8/etc/rc.d/ (props changed) Modified: stable/8/etc/rc.d/nsswitch ============================================================================== --- stable/8/etc/rc.d/nsswitch Sun Jan 17 10:59:07 2010 (r202463) +++ stable/8/etc/rc.d/nsswitch Sun Jan 17 11:10:24 2010 (r202464) @@ -77,10 +77,10 @@ generate_host_conf() nis) echo "nis" >> $host_conf ;; - *=*) + cache | *=*) ;; *) - printf "Warning: unrecognized source [%s]", $_s > "/dev/stderr" + printf "Warning: unrecognized source [%s]\n" $_s >&2 ;; esac done
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001171110.o0HBAPmc002877>