Date: Mon, 17 Oct 2005 19:56:28 +0100 From: eoghan <freebsd@redry.net> To: freebsd@orchid.homeunix.org Cc: freebsd-questions@freebsd.org Subject: Re: this: not found Message-ID: <62E1E1CF-A095-43FA-A9BD-2261DD4A9709@redry.net> In-Reply-To: <4353F036.6050500@orchid.homeunix.org> References: <435367B3.9050909@redry.net> <4353B31F.3010306@orchid.homeunix.org> <6E358D06-E976-4D29-91B0-47F9ADC7285B@redry.net> <4353F036.6050500@orchid.homeunix.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 17 Oct 2005, at 19:40, Karol Kwiatkowski wrote: > eoghan wrote: > >> On 17 Oct 2005, at 15:20, Karol Kwiatkowski wrote: >> >> >>> eoghan wrote: >>> >>> >>>> Hello >>>> Im having problems again with this message when im booting. I get >>>> several messages like this: >>>> This: not found >>>> >>>> >>> >>> Every time I see that it's because of missing '#' at the >>> beginning of >>> the line in a shell script (to mark the line as a comment). >>> >>> >>> >>>> About 8 or so of them just before it asks me for my login. It has >>>> happened before, but i was working with a rather shaky install as i >>>> wasnt sure what i was doing, well at least i was more unsure then >>>> than i >>>> am now :) >>>> So im just wondering where i would look to see where its trying >>>> to find >>>> "This"? >>>> >>>> >>> >>> I'd look at starting scripts first. Something like: >>> >>> # ls /etc/rc.d/* | xargs grep "This" >>> # ls /usr/local/etc/rc.d/* | xargs grep "This" >>> >>> and see if there's a line starting with 'This' without a '#' at the >>> beginning somewhere. >>> >> >> >> I have done this now and not found anything without the # ... is >> there >> anywhere else I should look? >> > > How about /etc/rc.conf file? Hmmm... I had previously looked in my rc.conf and noticed the last line had a comment starting on it... i moved it down but kept searching as I didnt believe this to be the problem... But I just rebooted after you suggested the rc.conf... and, the This: not found are all gone! My last uncommented line looked like (rc.conf): usbd_enable="YES"# This file contains.... I didnt think it would be causing it, but it seems it was... just wondering why it would display 7 or 8 times? Anyway - got it sorted and thank you very much! Eoghan > If not there does 'grep -r This /etc' shows something useful? > > And just to be clear look for exact word: 'This' or 'this' depending > on the situation (I'm not sure because you wrote it differently in the > email subject and body). > > > -- > Karol Kwiatkowski <freebsd at orchid dot homeunix dot org> > GPGKey: http://www.orchid.homeunix.org/carlos/gpg/0x06E09309.asc >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?62E1E1CF-A095-43FA-A9BD-2261DD4A9709>