route question

Björn König bkoenig at
Fri Oct 21 03:58:15 PDT 2005

Jeff Maxwell wrote:
> I added a route to my rc.conf now I get this message. The route that  I 
> added seems to work, but
> Cron <operator at mail> /usr/libexec/save-entropy
> route: not found
> The route that I added seems to work, but the syntax must be wrong.
> this is what I added:
> defaultrouter=""
> hostname=""
> ifconfig_fxp0="inet  netmask"
> route add -net

This is a quite bad idea, because rc.conf will be included everytime an 
rc script is called. This means that your command line will be executed 
several times if you just call "/etc/rc.d/inetd restart" for example.

# echo 'echo "hello world"' >> /etc/rc.conf

# /etc/rc.d/inetd forcerestart
hello world
hello world
inetd not running? (check /var/run/
hello world
Starting inetd.


More information about the freebsd-questions mailing list