On Fri, Oct 09, 1998 at 09:38:35AM -0400, Stephen J. Carpenter wrote: > > if grep -q '^no-start-xfstt$' /etc/X11/config > > > > This way you're sure the ^ and $ aren't interpreted (when I started > > using Unix, ^ could be used instead of the pipe symbol...). > > Well I didn't write that part...and it worked...so I didn't fix it > > however...I think he just copies from the xfs script because... > it has the same line (just without the tt)
Errr... I don't have to point this out, I'm sure, but the xfs test should be changed to: if grep -q '^start-xfs[[:space:]]*$' /etc/X11/config otherwise, without the trailing $ it will catch the xfstt line. Marcelo