Re: switching XF86Config.in

From: Michele Andreoli (m.andreoli@tin.it)
Date: Fri Sep 08 2000 - 17:43:12 CEST


On Fri, Sep 08, 2000 at 02:14:53AM +0200, Denis Bredelet nicely wrote:
> X -probeonly 2> ${testfile}
> rm -f ${xpath}/XF86Config.in
>
> if grep -q monochrome ${testfile}
> then
> ln -s ${xpath}/XF86Config.ext ${xpath}/XF86Config.in
> else
> ln -s ${xpath}/XF86Config.int ${xpath}/XF86Config.in
> fi
>

My only dubt is about your usage of "grep". muLinux grep do not
know about -q. Please, change in:

cat $testfile | rgrep monochrome > /dev/null
if [ $? -eq 0 ] ; then
else
fi

Michele

-- 
I'd like to conclude with a positive statement, but I can't 
remember any. Would two negative ones do?       -- Woody Allen
---------------------------------------------------------------------
To unsubscribe, e-mail: mulinux-unsubscribe@sunsite.auc.dk
For additional commands, e-mail: mulinux-help@sunsite.auc.dk


This archive was generated by hypermail 2.1.6 : Sat Feb 08 2003 - 15:27:15 CET