rc-scripts/trunk/rc.d: rc rc.modules rc.shutdown rc.sysinit

Elan Ruusamäe glen at delfi.ee
Tue Oct 25 17:33:08 CEST 2005


On Tuesday 25 October 2005 17:17, baggins wrote:
> Author: baggins
> Date: Tue Oct 25 16:17:26 2005
> New Revision: 6479
>
> Modified:
>    rc-scripts/trunk/rc.d/rc
>    rc-scripts/trunk/rc.d/rc.modules
>    rc-scripts/trunk/rc.d/rc.shutdown
>    rc-scripts/trunk/rc.d/rc.sysinit
> Log:
> - grep: all your stderr are belong to /dev/null
[...]

> Modified: rc-scripts/trunk/rc.d/rc
> ===========================================================================
>=== --- rc-scripts/trunk/rc.d/rc	(original)
> +++ rc-scripts/trunk/rc.d/rc	Tue Oct 25 16:17:26 2005
> @@ -92,7 +92,7 @@
>
>  # See if we want to be in user confirmation mode
>  if [ "$previous" = "N" ]; then
> -	if grep -qi confirm /proc/cmdline >/dev/null \
> +	if grep -qi confirm /proc/cmdline >/dev/null 2>/dev/null \

grep -q implies already silence, what situation this solves?
perhaps just add -s option?

ps: is svn commit intentionally configured to redirect replies to 
cvs at pld-linux.org? this is due From: baggins <cvs at pld-linux.org> for my MUA 
(kmail/1.8.3)

-- 
glen



More information about the pld-devel-en mailing list