Re: Improving the performance of system boot by eliding unused rc.d scripts and caching the result

Jason Thorpe <[email protected]>
Newsgroups gmane.os.netbsd.devel.userlevel
Message-ID <[email protected]>
> On Aug 20, 2026, at 1:12 AM, Edgar Fuß <[email protected]> wrote:
> 
>> if (> /etc/rcorder.cache.tmp) 2>/dev/null; then
> I would have expected that to be
> if (:> /etc/rcorder.cache.tmp) 2>/dev/null; then
> and am suprised the shell accepts redirection on an empty command.

I used what kre suggested verbatim, and it definitely works.  Again, I’m no shell wizard by any measure, so I defer to him :-)

-- thorpej
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.