Re: 5.1R, cron job "system-entropy" sending error email every 11 minutes

dorqus <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
Doug Carter wrote...
> The error email contains "ifconfig: not found" four times;  running 
> system-entropy in trace mode I can see it executing commands from 
> /etc/rc.conf and ifconfig is bombing on these:
> 
>   + ifconfig wi0 ssid WAP1
>   ifconfig: not found
>   + ifconfig wi0 stationname x200
>   ifconfig: not found
>   + ifconfig wi0 wep
>   ifconfig: not found
> 
> What is further odd is that these commands work fine when the system boots 
> and if I execute them from my shell.
> 
> Any suggestion?

Yes.  Put the path to ifconfig into your shell script/cronjob/whatever.

That will solve you problem.

-- 
josh
	There are 10 types of people.  Those that understand binary, 
	and those that don't.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "[email protected]"
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.